28 int ghosts = solver->
ghosts;
29 int ndims = solver->
ndims;
31 double *u = solver->
u;
37 double rho, v, e, P, c, dxinv, local_cfl;
40 c = sqrt(param->
gamma*P/rho);
41 local_cfl = (
absolute(v)+c)*dt*dxinv;
42 if (local_cfl > max_cfl) max_cfl = local_cfl;
#define _ArraySetValue_(x, size, value)
#define _Euler1DGetFlowVar_(u, rho, v, e, P, p)
#define _ArrayIncrementIndex_(N, imax, i, done)
double Euler1DComputeCFL(void *s, void *m, double dt, double t)
#define _GetCoordinate_(dir, i, dim, ghosts, x, coord)
#define _ArrayIndex1D_(N, imax, i, ghost, index)
Contains function definitions for common mathematical functions.
Contains structure definition for hypar.
Some basic definitions and macros.
Contains macros and function definitions for common array operations.
1D Euler Equations (inviscid, compressible flows)
Structure containing all solver-specific variables and functions.
Structure containing variables and parameters specific to the 1D Euler equations. This structure cont...