|
cuIBM
A GPU-based Immersed Boundary Method code
|
Implementation of the kernels to calculate the forces acting on a body using a control-volume approach. The method is described in Lai & Peskin (2000). More...
#include "calculateForce.h"
Go to the source code of this file.
Namespaces | |
| kernels | |
| Contains all the custom-written CUDA kernels. | |
Macros | |
| #define | BSZ 16 |
Functions | |
| __global__ void | kernels::dragLeftRight (real *FxX, real *q, real *lambda, real nu, real *dx, real *dy, int nx, int ny, int I, int J, int ncx, int ncy) |
| Calculates drag using a control-volume approach (left-right). More... | |
| __global__ void | kernels::dragBottomTop (real *FxY, real *q, real nu, real *dx, real *dy, int nx, int ny, int I, int J, int ncx, int ncy) |
| Calculate drag using a control-volume approach (bottom-top). More... | |
| __global__ void | kernels::dragUnsteady (real *FxU, real *q, real *qOld, real *dx, real *dy, real dt, int nx, int ny, int I, int J, int ncx, int ncy) |
| Calculate drag using a control-volume approach (unsteady). More... | |
| __global__ void | kernels::liftLeftRight (real *FyX, real *q, real nu, real *dx, real *dy, int nx, int ny, int I, int J, int ncx, int ncy) |
| Calculate lift using a control-volume approach (left-right). More... | |
| __global__ void | kernels::liftBottomTop (real *FyY, real *q, real *lambda, real nu, real *dx, real *dy, int nx, int ny, int I, int J, int ncx, int ncy) |
| Calculate lift using a control-volume approach (bottom-top). More... | |
| __global__ void | kernels::liftUnsteady (real *FyU, real *q, real *qOld, real *dx, real *dy, real dt, int nx, int ny, int I, int J, int ncx, int ncy) |
| Calculate lift using a control-volume approach (unsteady). More... | |
| __global__ void | kernels::forceX (real *f, real *q, real *rn, int *tags, int nx, int ny, real *dx, real *dy, real dt, real alpha, real nu) |
| Kernel not usable. More... | |
| __global__ void | kernels::forceY () |
| Kernel not usable. More... | |
Implementation of the kernels to calculate the forces acting on a body using a control-volume approach. The method is described in Lai & Peskin (2000).
Definition in file calculateForce.cu.
| #define BSZ 16 |
Definition at line 12 of file calculateForce.cu.
Referenced by kernels::forceX().
1.8.11