cuIBM
A GPU-based Immersed Boundary Method code
generateBC2.h
Go to the documentation of this file.
1 
8 #pragma once
9 
10 #include "utilities/types.h"
11 
12 
17 namespace kernels
18 {
19 
20 // compute inhomogeneous terms of the discrete divergence operator
21 // from the bottom and top boundaries at the v-velocity locations
22 __global__
23 void fillBC2_v(real *bc2, real *yminus, real *yplus, real *dx, int nx, int ny);
24 
25 // compute inhomogeneous terms of the discrete divergence operator
26 // from the left and right boundaries at the u-velocity locations
27 __global__
28 void fillBC2_u(real *bc2, real *xminus, real *xplus, real *dy, int nx, int ny);
29 
30 // compute inhomogeneous terms of the discrete divergence operator
31 // from the no-slip constraint at the body-point locations
32 __global__
33 void fillBC2_uvB(real *bc2, real *uB, real *vB, int totalPoints, int nx, int ny);
34 
35 } // End of namespace kernels
__global__ void fillBC2_v(real *bc2, real *yminus, real *yplus, real *dx, int nx, int ny)
Computes inhomogeneous terms of the discrete divergence operator from the bottom and top boundaries a...
Definition: generateBC2.cu:30
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.
__global__ void fillBC2_u(real *bc2, real *xminus, real *xplus, real *dy, int nx, int ny)
Computes inhomogeneous terms of the discrete divergence operator from the left and right boundaries a...
Definition: generateBC2.cu:52
__global__ void fillBC2_uvB(real *bc2, real *uB, real *vB, int totalPoints, int nx, int ny)
Computes inhomogeneous terms of the discrete divergence operator from the no-slip constraint at the b...
Definition: generateBC2.cu:74