22 void updateQ(
int *QRows,
int *QCols,
real *QVals,
int QSize,
int *tags);
26 void updateQT(
int *QTRows,
int *QTCols,
real *QTVals,
int QTSize,
int *tags,
real *coeffs);
29 void generateQT(
int *QTRows,
int *QTCols,
real *QTVals,
int nx,
int ny);
34 int *ERows,
int *ECols,
real *EVals,
36 int totalPoints,
real *xB,
real *yB,
int *I,
int *J);
__global__ void updateQT(int *QTRows, int *QTCols, real *QTVals, int QTSize, int *tags, real *coeffs)
Update the divergence operator at forcing nodes.
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.
void generateQT(int *QTRows, int *QTCols, real *QTVals, int nx, int ny)
Generates the divergence matrix (on the host).
Declaration of the discrete delta function.
__global__ void updateQ(int *QRows, int *QCols, real *QVals, int QSize, int *tags)
Update the gradient operator at forcing nodes.