cuIBM
A GPU-based Immersed Boundary Method code
|
Implementation of the kernels to generate the gradient matrix and interpolation matrix. More...
#include "generateQT.h"
Go to the source code of this file.
Namespaces | |
kernels | |
Contains all the custom-written CUDA kernels. | |
Functions | |
__device__ real | dhRomaDeviceQT (real x, real h) |
Discrete delta function defined by Roma et al. (1999). More... | |
__device__ real | deltaDeviceQT (real x, real y, real h) |
Two-dimensional discrete delta function. More... | |
__global__ void | kernels::updateQ (int *QRows, int *QCols, real *QVals, int QSize, int *tags) |
Update the gradient operator at forcing nodes. More... | |
__global__ void | kernels::updateQT (int *QTRows, int *QTCols, real *QTVals, int QTSize, int *tags, real *coeffs) |
Update the divergence operator at forcing nodes. More... | |
void | kernels::generateQT (int *QTRows, int *QTCols, real *QTVals, int nx, int ny) |
Generates the divergence matrix (on the host). More... | |
__global__ void | kernels::updateQT (int *QTRows, int *QTCols, real *QTVals, 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) |
Updates elements of the divergence matrix and the interpolation matrix. More... | |
Implementation of the kernels to generate the gradient matrix and interpolation matrix.
Definition in file generateQT.cu.
Two-dimensional 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 generateQT.cu.
References dhRomaDeviceQT().
Referenced by kernels::updateQT().
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 generateQT.cu.
Referenced by deltaDeviceQT().