33 int ghosts = solver->
ghosts;
35 int ndims = solver->
ndims;
36 int index[ndims], bounds[ndims], offset[ndims];
40 int i;
for (i=0; i<ndims; i++) bounds[i] += 2*ghosts;
MPI related function definitions.
Some basic definitions and macros.
2D Shallow Water Equations
Structure containing variables and parameters specific to the 2D Shallow Water equations. This structure contains the physical parameters, variables, and function pointers specific to the 2D ShallowWater equations.
Structure containing all solver-specific variables and functions.
int ShallowWater2DModifiedSolution(double *uC, double *u, int d, void *s, void *m, double waqt)
Contains structure definition for hypar.
#define _ArrayIndex1DWO_(N, imax, i, offset, ghost, index)
#define _ArraySetValue_(x, size, value)
#define _ArrayIncrementIndex_(N, imax, i, done)
#define _ArrayCopy1D_(x, y, size)
Contains macros and function definitions for common array operations.
#define _ShallowWater2DGetFlowVar_(u, h, uvel, vvel)