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;
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.
Linear Advection-Diffusion-Reaction model.
double LinearADRComputeDiffNumber(void *s, void *m, double dt, double t)
#define _GetCoordinate_(dir, i, dim, ghosts, x, coord)