33 int dim = boundary->
dim;
34 int face = boundary->
face;
37 int bounds[ndims], index1[ndims], index2[ndims];
46 index2[dim] = index1[dim] + size[dim]-ghosts;
49 }
else if (face == -1) {
Containts the structures and definitions for boundary condition implementation.
MPI related function definitions.
int BCPeriodicU(void *b, void *m, int ndims, int nvars, int *size, int ghosts, double *phi, double waqt)
Some basic definitions and macros.
Structure containing the variables and function pointers defining a boundary.
#define _ArraySubtract1D_(x, a, b, size)
#define _ArrayIndex1D_(N, imax, i, ghost, index)
#define _ArrayIndex1DWO_(N, imax, i, offset, ghost, index)
#define _ArraySetValue_(x, size, value)
#define _ArrayIncrementIndex_(N, imax, i, done)
Structure of MPI-related variables.
#define _ArrayCopy1D_(x, y, size)
Contains macros and function definitions for common array operations.