33 double *x = X, *y = x + dim[0], *z = y + dim[1];
35 double grid_xmin = x[0],
36 grid_xmax = x[dim[0]-1],
38 grid_ymax = y[dim[1]-1],
40 grid_zmax = z[dim[2]-1];
43 else if ( (grid_ymin > body->
ymin) && (grid_ymax < body->ymax) ) strcpy(IB->
mode,
_IB_XZ_);
44 else if ( (grid_zmin > body->
zmin) && (grid_zmax < body->zmax) ) strcpy(IB->
mode,
_IB_XY_);
Structure defining a body.
Structure containing variables for immersed boundary implementation.
Structures and function definitions for immersed boundaries.
int IBIdentifyMode(double *X, int *dim, void *ib)
char mode[_MAX_STRING_SIZE_]