__global__ void updateRHS1(real *rhs1, int numUV, int *tags)
Update the RHS vector of the velocity system 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. 
 
__global__ void updateRHS1Y(real *rhs1, int nx, int ny, real dt, real *dy, int *tags, real *coeffs, real *uv)
Perform 1D linear interpolation at forcing points for the y-velocity. 
 
__global__ void updateRHS1X(real *rhs1, int nx, int ny, real dt, real *dx, int *tags, real *coeffs, real *uv)
Perform 1D linear interpolation at forcing points for the x-velocity.