GADGET-4
kernel.h File Reference

collects definitions of different SPH kernels More...

Go to the source code of this file.

Classes

struct  kernel_density
 
struct  kernel_hydra
 

Macros

#define CUBIC_SPLINE_KERNEL   /* fall back to cubic spline kernel */
 
#define THREEDIMS
 
#define NORM   (8.0 / M_PI)
 
#define COMPUTE_WK   -1
 
#define COMPUTE_WK_AND_DWK   0
 
#define COMPUTE_DWK   1
 

Detailed Description

collects definitions of different SPH kernels

Definition in file kernel.h.

Macro Definition Documentation

◆ COMPUTE_DWK

#define COMPUTE_DWK   1

Definition at line 110 of file kernel.h.

◆ COMPUTE_WK

#define COMPUTE_WK   -1

Definition at line 108 of file kernel.h.

◆ COMPUTE_WK_AND_DWK

#define COMPUTE_WK_AND_DWK   0

Definition at line 109 of file kernel.h.

◆ CUBIC_SPLINE_KERNEL

#define CUBIC_SPLINE_KERNEL   /* fall back to cubic spline kernel */

Definition at line 35 of file kernel.h.

◆ NORM

#define NORM   (8.0 / M_PI)

For 3D-normalized kernel

Definition at line 47 of file kernel.h.

◆ THREEDIMS

#define THREEDIMS

Definition at line 40 of file kernel.h.