milupHPC documentation
  • include
  • sph
viscosity.cuh
Go to the documentation of this file.
1
11#ifndef MILUPHPC_VISCOSITY_CUH
12#define MILUPHPC_VISCOSITY_CUH
13
14#include "../particles.cuh"
15#include "../parameter.h"
16#include "../materials/material.cuh"
17#include "kernel.cuh"
18#include "cuda_utils/cuda_utilities.cuh"
19#include "cuda_utils/cuda_runtime.h"
20
21namespace SPH {
22 namespace Kernel {
23
24// TODO: functions only needed for NAVIER_STOKES
25#if NAVIER_STOKES
26 __global__ void calculate_shear_stress_tensor(::SPH::SPH_kernel kernel, Material *materials, Particles *particles, int *interactions, int numRealParticles);
27#endif
28
29#if NAVIER_STOKES
30 __global__ void calculate_kinematic_viscosity(::SPH::SPH_kernel kernel, Material *materials, Particles *particles, int *interactions, int numRealParticles);
31#endif
32 }
33}
34
35#endif //MILUPHPC_VISCOSITY_CUH
Material
Material parameters.
Definition: material.cuh:88
Particles
Particle(s) class based on SoA (Structur of Arrays).
Definition: particles.cuh:50
cuda_runtime.h
CUDA runtime functionalities and wrappers.
cuda_utilities.cuh
CUDA utilities.
kernel.cuh
Kernel
Definition: device_rhs.cuh:7
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

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