28 int k = threadIdx.x + blockIdx.x*blockDim.x;
32 velB[k + totalPoints] = vB[k];
__global__ void fill_velB(real *velB, real *uB, real *vB, int totalPoints)
Stores an element of the u- and v- body-velocities into one single array.
double real
Is a float or a double depending on the machine precision.
Declaration of the kernels required to generate body-velocities.
Contains all the custom-written CUDA kernels.