|
HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Identiy the boundary nodes of the immersed body. More...
#include <stdlib.h>#include <arrayfunctions.h>#include <mpivars.h>#include <immersedboundaries.h>Go to the source code of this file.
Functions | |
| static int | CountBoundaryPoints (int imax, int jmax, int kmax, int ghosts, double *blank) |
| static int | SetBoundaryPoints (int imax, int jmax, int kmax, int ghosts, double *blank, void *b) |
| int | IBIdentifyBoundary (void *ib, void *m, int *dim_l, int ghosts, double *blank) |
Identiy the boundary nodes of the immersed body.
Definition in file IBIdentifyBoundary.c.
|
static |
Count the number of immersed boundary points: boundary points are those grid points inside the immersed body that are within stencil-width-distance of a grid point outside the body.
| imax | Number of grid points in x |
| jmax | Number of grid points in y |
| kmax | Number of grid points in z |
| ghosts | Number of ghost points |
| blank | blanking array where entries are zero for grid points inside, and one for grid points outside. |
Definition at line 15 of file IBIdentifyBoundary.c.
|
static |
Set the indices of the immersed boundary points.
| imax | Number of grid points in x |
| jmax | Number of grid points in y |
| kmax | Number of grid points in z |
| ghosts | Number of ghost points |
| blank | blanking array where entries are zero for grid points inside, and one for grid points outside. |
| b | Array of immersed boundary points of type IBNode |
Definition at line 80 of file IBIdentifyBoundary.c.
| int IBIdentifyBoundary | ( | void * | ib, |
| void * | m, | ||
| int * | dim_l, | ||
| int | ghosts, | ||
| double * | blank | ||
| ) |
Identify the immersed boundary points: an immersed boundary point is any grid point inside the immersed body that is within stencil-width-distance of a grid point outside the immersed body. This function does the following:
| ib | Immersed boundary object of type ImmersedBoundary |
| m | MPI object of type MPIVariables |
| dim_l | local dimensions |
| ghosts | number of ghost points |
| blank | Blanking array: for grid points within the immersed body, this value will be set to 0 |
Definition at line 158 of file IBIdentifyBoundary.c.