cuIBM
A GPU-based Immersed Boundary Method code
helpers.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 #include "types.h"
10 
11 
12 // discrete delta function used by Roma et al. (1999)
13 real dhRoma(real x, real h);
14 
15 // two-dimensional discrete delta function
16 real delta(real x, real y, real h);
Definition of custom types required by the code.
real dhRoma(real x, real h)
Discrete delta function from Roma et al. (1999).
Definition: helpers.cu:22
double real
Is a float or a double depending on the machine precision.
Definition: types.h:116
real delta(real x, real y, real h)
Two-dimensional discrete delta function.
Definition: helpers.cu:44