24 int ndims = solver->
ndims;
25 int nvars = solver->
nvars;
26 int ghosts = solver->
ghosts;
29 double max_diffno = 0;
30 for (d = 0; d < ndims; d++) {
31 for (i = 0; i < dim[d]; i++) {
32 for (v = 0; v < nvars; v++) {
34 double local_diffno = params->
d[nvars*d+v] * dt * dxinv * dxinv;
35 if (local_diffno > max_diffno) max_diffno = local_diffno;
Structure containing variables and parameters specific to the linear advection-diffusion-reaction mod...
MPI related function definitions.
#define _GetCoordinate_(dir, i, dim, ghosts, x, coord)
Linear Advection-Diffusion-Reaction model.
Contains structure definition for hypar.
Some basic definitions and macros.
double LinearADRComputeDiffNumber(void *s, void *m, double dt, double t)
Structure containing all solver-specific variables and functions.