24 int *LRows,
int *LCols,
real *LVals,
25 int ASize,
real alpha);
32 int *LRows,
int *LCols,
real *LVals,
33 int ASize,
real alpha,
int *tags);
Definition of custom types required by the code.
double real
Is a float or a double depending on the machine precision.
__global__ void generateADirectForcing(int *ARows, int *ACols, real *AVals, real *MVals, int *LRows, int *LCols, real *LVals, int ASize, real alpha, int *tags)
Generates a block of the matrix resulting from implicit terms in the momentum equation for the direct...
Contains all the custom-written CUDA kernels.
__global__ void generateA(int *ARows, int *ACols, real *AVals, real *MVals, int *LRows, int *LCols, real *LVals, int ASize, real alpha)
Generates a block of the matrix resulting from implicit terms in the momentum equation.