24 int ndims = solver->
ndims;
25 int nvars = solver->
nvars;
26 int ghosts = solver->
ghosts;
33 for (d = 0; d < ndims; d++) {
34 for (i = 0; i < dim[d]; i++) {
35 for (v = 0; v < nvars; v++) {
37 double local_cfl = params->
a[nvars*d+v]*dt*dxinv;
38 if (local_cfl > max_cfl) max_cfl = local_cfl;
46 for (d = 0; d < ndims; d++) {
53 for (v = 0; v < nvars; v++) {
54 double a = params->
a[nvars*ndims*p+nvars*d+v];
55 double local_cfl = a*dt*dxinv;
56 if (local_cfl > max_cfl) max_cfl = local_cfl;
#define _ArraySetValue_(x, size, value)
#define _ArrayIncrementIndex_(N, imax, i, done)
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.
#define _ArrayIndex1D_(N, imax, i, ghost, index)
double LinearADRComputeCFL(void *s, void *m, double dt, double t)
Contains structure definition for hypar.
Contains macros and function definitions for common array operations.
Structure containing all solver-specific variables and functions.