46 double *adv = param->
a;
50 int ghosts = solver->
ghosts;
51 int ndims = solver->
ndims;
52 int nvars = solver->
nvars;
60 for (i=0; i<ndims; i++) bounds[i] += 2*ghosts;
69 for (v = 0; v < nvars; v++) {
70 f[nvars*p+v] = param->
a[nvars*dir+v] * u[nvars*p+v];
77 for (v = 0; v < nvars; v++) {
78 double a = adv[nvars*ndims*p+nvars*dir+v];
79 f[nvars*p+v] = a * u[nvars*p+v];
86 for (v = 0; v < nvars; v++) {
#define _ArraySetValue_(x, size, value)
#define _ArrayIncrementIndex_(N, imax, i, done)
Structure containing variables and parameters specific to the linear advection-diffusion-reaction mod...
Linear Advection-Diffusion-Reaction model.
int LinearADRAdvection(double *f, double *u, int dir, void *s, double t)
#define _ArrayIndex1DWO_(N, imax, i, offset, ghost, index)
#define _ArrayCopy1D_(x, y, size)
Contains structure definition for hypar.
Some basic definitions and macros.
Contains macros and function definitions for common array operations.
Structure containing all solver-specific variables and functions.