milupHPC documentation
  • include
  • sph
density.cuh
Go to the documentation of this file.
1
8#ifndef MILUPHPC_DENSITY_CUH
9#define MILUPHPC_DENSITY_CUH
10
11#include "../particles.cuh"
12#include "../subdomain_key_tree/subdomain.cuh"
13#include "../parameter.h"
14#include "kernel.cuh"
15#include "cuda_utils/cuda_utilities.cuh"
16#include "cuda_utils/cuda_runtime.h"
17#include "sph.cuh"
18
19class density {
20
21};
22
23namespace SPH {
24
25 namespace Kernel {
26
48 __global__ void calculateDensity(::SPH::SPH_kernel kernel, Tree *tree, Particles *particles, int *interactions, int numParticles);
49
50 namespace Launch {
60 real calculateDensity(::SPH::SPH_kernel kernel, Tree *tree, Particles *particles, int *interactions, int numParticles);
61 }
62
63 }
64}
65
66
67#endif //MILUPHPC_DENSITY_CUH
Particles
Particle(s) class based on SoA (Structur of Arrays).
Definition: particles.cuh:50
Tree
Tree class.
Definition: tree.cuh:140
density
Definition: density.cuh:19
cuda_runtime.h
CUDA runtime functionalities and wrappers.
cuda_utilities.cuh
CUDA utilities.
kernel.cuh
Kernel
Definition: device_rhs.cuh:7
ProfilerIds::Time::tree
const char *const tree
Definition: h5profiler.h:57
ProfilerIds::numParticles
const char *const numParticles
Definition: h5profiler.h:29
SPH::Kernel::Launch::calculateDensity
real calculateDensity(::SPH::SPH_kernel kernel, Tree *tree, Particles *particles, int *interactions, int numParticles)
Wrapper for SPH::Kernel::calculateDensity().
Definition: density.cu:74
SPH::Kernel::calculateDensity
__global__ void calculateDensity(::SPH::SPH_kernel kernel, Tree *tree, Particles *particles, int *interactions, int numParticles)
Calculate the density .
Definition: density.cu:8
SPH
SPH related functions and kernels.
Definition: density.cuh:23
SPH::SPH_kernel
void(* SPH_kernel)(real *W, real dWdx[DIM], real *dWdr, real dx[DIM], real h)
Function pointer to generic SPH kernel function.
Definition: kernel.cuh:26
real
double real
Definition: parameter.h:15
sph.cuh
SPH related functionalities and kernels.

milupHPC - include/sph/density.cuh Source File
Generated on Wed Aug 31 2022 12:16:52 by Doxygen 1.9.3