cuIBM
A GPU-based Immersed Boundary Method code
Namespaces | Functions
generateM.h File Reference

Declaration of the kernels to generate the mass matrix and its inverse. More...

#include "utilities/types.h"
Include dependency graph for generateM.h:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Declaration of the kernels to generate the mass matrix and its inverse.

Definition in file generateM.h.