32 for (i = 0; i < imax; i++) {
33 for (j = 0; j < jmax; j++) {
34 for (k = 0; k < kmax; k++) {
44 for (g = 1; g <= ghosts; g++){
48 if (blank[q]) flag = 1;
52 if (blank[q]) flag = 1;
56 if (blank[q]) flag = 1;
60 if (blank[q]) flag = 1;
64 if (blank[q]) flag = 1;
68 if (blank[q]) flag = 1;
99 for (i = 0; i < imax; i++) {
100 for (j = 0; j < jmax; j++) {
101 for (k = 0; k < kmax; k++) {
111 for (g = 1; g <= ghosts; g++){
115 if (blank[q]) flag = 1;
119 if (blank[q]) flag = 1;
123 if (blank[q]) flag = 1;
127 if (blank[q]) flag = 1;
131 if (blank[q]) flag = 1;
135 if (blank[q]) flag = 1;
139 boundary[count].
i = i;
140 boundary[count].
j = j;
141 boundary[count].
k = k;
142 boundary[count].
p = p;
177 if (n_boundary_nodes == 0) IB->
boundary = NULL;
181 if (check != n_boundary_nodes) {
182 fprintf(stderr,
"Error in IBIdentifyBoundary(): Inconsistency encountered when setting boundary indices. ");
183 fprintf(stderr,
"on rank %d.\n",mpi->
rank);
184 fprintf(stderr,
"SetBoundaryPoints() returned %d, while n_boundary_nodes is %d.\n",check,n_boundary_nodes);
188 return(n_boundary_nodes);
Structure defining a body.
Structure defining an immersed boundary node.
Structure containing variables for immersed boundary implementation.
MPI related function definitions.
int IBIdentifyBoundary(void *ib, void *m, int *dim_l, int ghosts, double *blank)
#define _ArrayIndex1D_(N, imax, i, ghost, index)
Structures and function definitions for immersed boundaries.
Structure of MPI-related variables.
static int CountBoundaryPoints(int imax, int jmax, int kmax, int ghosts, double *blank)
#define _ArrayCopy1D_(x, y, size)
Contains macros and function definitions for common array operations.
static int SetBoundaryPoints(int imax, int jmax, int kmax, int ghosts, double *blank, void *b)