milupHPC documentation
  • include
  • sph
Namespaces | Macros | Typedefs | Functions
kernel.cuh File Reference
#include "../particles.cuh"
#include "../parameter.h"
#include "../helper.cuh"
#include <assert.h>
#include "../cuda_utils/linalg.cuh"
+ Include dependency graph for kernel.cuh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  SPH
 SPH related functions and kernels.
 
namespace  SPH::SmoothingKernel
 

Macros

#define MILUPHPC_KERNEL_CUH
 

Typedefs

typedef void(* SPH::SPH_kernel) (real *W, real dWdx[DIM], real *dWdr, real dx[DIM], real h)
 Function pointer to generic SPH kernel function. More...
 

Functions

__device__ void SPH::SmoothingKernel::spiky (real *W, real dWdx[DIM], real *dWdr, real dx[DIM], real sml)
 Spiky kernel (Desbrun & Cani). More...
 
__device__ void SPH::SmoothingKernel::cubicSpline (real *W, real dWdx[DIM], real *dWdr, real dx[DIM], real sml)
 Cubic spline kernel (Monaghan & Lattanzio 1985). More...
 
__device__ void SPH::SmoothingKernel::wendlandc2 (real *W, real dWdx[DIM], real *dWdr, real dx[DIM], real sml)
 
__device__ void SPH::SmoothingKernel::wendlandc4 (real *W, real dWdx[DIM], real *dWdr, real dx[DIM], real sml)
 
__device__ void SPH::SmoothingKernel::wendlandc6 (real *W, real dWdx[DIM], real *dWdr, real dx[DIM], real sml)
 
CUDA_CALLABLE_MEMBER real SPH::fixTensileInstability (SPH_kernel kernel, Particles *particles, int p1, int p2)
 Calculates the kernel for the tensile instability fix (Monaghan 2000). More...
 

Macro Definition Documentation

◆ MILUPHPC_KERNEL_CUH

#define MILUPHPC_KERNEL_CUH

Definition at line 9 of file kernel.cuh.


milupHPC - include/sph/kernel.cuh File Reference
Generated on Wed Aug 31 2022 12:16:53 by Doxygen 1.9.3