cuIBM
A GPU-based Immersed Boundary Method code
|
Implementation of the kernels to generate the mass matrix and its inverse. More...
#include "generateM.h"
Go to the source code of this file.
Namespaces | |
kernels | |
Contains all the custom-written CUDA kernels. | |
Functions | |
__global__ void | kernels::fillM_u (int *MRows, int *MCols, real *MVals, int *MinvRows, int *MinvCols, real *MinvVals, int nx, int ny, real *dx, real *dy, real dt) |
Computes an element of the mass matrix and its inverse for a x-velocity node. More... | |
__global__ void | kernels::fillM_v (int *MRows, int *MCols, real *MVals, int *MinvRows, int *MinvCols, real *MinvVals, int nx, int ny, real *dx, real *dy, real dt) |
Computes an element of the mass matrix and its inverse for a y-velocity node. More... | |
Implementation of the kernels to generate the mass matrix and its inverse.
Definition in file generateM.cu.