12 int ndims = solver->
ndims;
13 int nvars = solver->
nvars;
14 int ghosts = solver->
ghosts;
16 double *dxinv = solver->
dxinv;
20 for (d = 0; d < ndims; d++) {
21 for (i = 0; i < dim[d]; i++) {
22 for (v = 0; v < nvars; v++) {
25 * dxinv[offset+ghosts+i];
26 if (local_cfl > max_cfl) max_cfl = local_cfl;
29 offset += dim[d] + 2*ghosts;
MPI related function definitions.
Contains function definitions for common mathematical functions.
double FPDoubleWellComputeCFL(void *s, void *m, double dt, double t)
Some basic definitions and macros.
Structure containing all solver-specific variables and functions.
Contains structure definition for hypar.
#define _GetCoordinate_(dir, i, dim, ghosts, x, coord)