cuIBM
A GPU-based Immersed Boundary Method code
generateE.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 #include "utilities/types.h"
10 #include "utilities/helpers.h"
11 
12 
17 namespace kernels
18 {
19 
20 // compute elements of the interpolation matrix
21 __global__
22 void generateE(int *ERows, int *ECols, real *EVals,
23  int nx, int ny, real *x, real *y, real *dx,
24  int totalPoints, real *xB, real *yB, int *I, int *J);
25 
26 } // End of namespace kernels
Definition of custom types required by the code.
double real
Is a float or a double depending on the machine precision.
Definition: types.h:116
Contains all the custom-written CUDA kernels.
Declaration of the discrete delta function.
__global__ void generateE(int *ERows, int *ECols, real *EVals, int nx, int ny, real *x, real *y, real *dx, int totalPoints, real *xB, real *yB, int *I, int *J)
Computes elements of the interpolation matrix.
Definition: generateE.cu:73