cuIBM
A GPU-based Immersed Boundary Method code
|
Implementation of the kernels to generate elements of the interpolation matrix. More...
#include "generateE.h"
Go to the source code of this file.
Namespaces | |
kernels | |
Contains all the custom-written CUDA kernels. | |
Functions | |
__device__ real | dhRomaDeviceE (real x, real h) |
Discrete delta function defined by Roma et al. (1999). More... | |
__device__ real | deltaDeviceE (real x, real y, real h) |
Two-dimension discrete delta function. More... | |
__global__ void | kernels::generateE (int *ERows, int *ECols, real *EVals, int nx, int ny, real *x, real *y, real *dx, int totalPoints, real *xB, real *yB, int *I, int *J) |
Computes elements of the interpolation matrix. More... | |
Implementation of the kernels to generate elements of the interpolation matrix.
Definition in file generateE.cu.
Two-dimension discrete delta function.
x | x-component of the vector defined between two points |
y | y-component of the vector defined between two points |
h | the grid-spacing |
Definition at line 42 of file generateE.cu.
References dhRomaDeviceE().
Referenced by kernels::generateE().
Discrete delta function defined by Roma et al. (1999).
x | x- or y- component of the vector defined between two points |
h | the grid-spacing |
Definition at line 19 of file generateE.cu.
Referenced by deltaDeviceE().