21 void fillM_u(
int *MRows,
int *MCols,
real *MVals,
int *MinvRows,
int *MinvCols,
real *MinvVals,
int nx,
int ny,
real *dx,
real *dy,
real dt);
25 void fillM_v(
int *MRows,
int *MCols,
real *MVals,
int *MinvRows,
int *MinvCols,
real *MinvVals,
int nx,
int ny,
real *dx,
real *dy,
real dt);
__global__ void 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.
Definition of custom types required by the code.
double real
Is a float or a double depending on the machine precision.
Contains all the custom-written CUDA kernels.
__global__ void 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.