24 int ndims = solver->
ndims;
25 int nvars = solver->
nvars;
26 int ghosts = solver->
ghosts;
28 double *u = solver->
u;
30 int index[ndims], dir, v;
36 for (v=0; v<nvars; v++) {
37 for (dir=0; dir<ndims; dir++) {
40 double local_cfl = u[nvars*p+v]*dt*dxinv;
41 if (local_cfl > max_cfl) max_cfl = local_cfl;
#define _ArraySetValue_(x, size, value)
#define _ArrayIncrementIndex_(N, imax, i, done)
MPI related function definitions.
#define _GetCoordinate_(dir, i, dim, ghosts, x, coord)
#define _ArrayIndex1D_(N, imax, i, ghost, index)
double BurgersComputeCFL(void *s, void *m, double dt, double t)
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.