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;
Structure containing variables and parameters specific to the 1D Shallow Water equations. This structure contains the physical parameters, variables, and function pointers specific to the 1D ShallowWater equations.
1D Shallow Water Equations
MPI related function definitions.
Some basic definitions and macros.
Structure containing all solver-specific variables and functions.
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 _ShallowWater1DGetFlowVar_(u, h, v)
#define _ArrayCopy1D_(x, y, size)
Contains macros and function definitions for common array operations.
int ShallowWater1DModifiedSolution(double *uC, double *u, int d, void *s, void *m, double waqt)