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;
MPI related function definitions.
Some basic definitions and macros.
Structure containing all solver-specific variables and functions.
Contains structure definition for hypar.
double BurgersComputeCFL(void *s, void *m, double dt, double t)
#define _ArrayIndex1D_(N, imax, i, ghost, index)
#define _ArraySetValue_(x, size, value)
#define _ArrayIncrementIndex_(N, imax, i, done)
#define _GetCoordinate_(dir, i, dim, ghosts, x, coord)
Contains macros and function definitions for common array operations.