14 int ghosts = solver->
ghosts;
15 int ndims = solver->
ndims;
16 int nvars = solver->
nvars;
17 int index[ndims], bounds[ndims], offset[ndims];
21 for (i=0; i<ndims; i++) bounds[i] += 2*ghosts;
29 for (v = 0; v < nvars; v++) f[nvars*p+v] = 0.5*param->
q * u[nvars*p+v];
int FPDoubleWellDiffusion(double *f, double *u, int dir, void *s, double t)
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 _ArrayCopy1D_(x, y, size)
Contains macros and function definitions for common array operations.