38 int ghosts = solver->
ghosts;
39 int ndims = solver->
ndims;
40 int nvars = solver->
nvars;
41 int index[ndims], bounds[ndims], offset[ndims];
45 for (i=0; i<ndims; i++) bounds[i] += 2*ghosts;
53 for (v = 0; v < nvars; v++) f[nvars*p+v] = param->
d[nvars*dir+v] * u[nvars*p+v];
87 int ghosts = solver->
ghosts;
88 int ndims = solver->
ndims;
89 int nvars = solver->
nvars;
90 int index[ndims], bounds[ndims], offset[ndims];
98 for (i=0; i<ndims; i++) bounds[i] += 2*ghosts;
106 for (v = 0; v < nvars; v++) f[nvars*p+v] = param->
d[nvars*dir+v] * u[nvars*p+v];
MPI related function definitions.
Some basic definitions and macros.
Structure containing variables and parameters specific to the linear advection-diffusion-reaction mod...
Structure containing all solver-specific variables and functions.
Contains structure definition for hypar.
#define _ArrayIndex1DWO_(N, imax, i, offset, ghost, index)
Linear Advection-Diffusion-Reaction model.
#define _ArraySetValue_(x, size, value)
int LinearADRDiffusionH(double *f, double *u, int dir1, int dir2, void *s, double t)
#define _ArrayIncrementIndex_(N, imax, i, done)
int LinearADRDiffusionG(double *f, double *u, int dir, void *s, double t)
int npoints_local_wghosts
#define _ArrayCopy1D_(x, y, size)
Contains macros and function definitions for common array operations.