16 int ghosts = solver->
ghosts;
17 int ndims = solver->
ndims;
19 double *u = solver->
u;
25 double rho,vx,vy,e,P,c,dxinv,dyinv,local_cfl[2];
28 c = sqrt(param->
gamma*P/rho);
34 if (local_cfl[
_XDIR_] > max_cfl) max_cfl = local_cfl[
_XDIR_];
35 if (local_cfl[
_YDIR_] > max_cfl) max_cfl = local_cfl[
_YDIR_];
Contains function definitions for common mathematical functions.
double Euler2DComputeCFL(void *s, void *m, double dt, double t)
Some basic definitions and macros.
#define _Euler2DGetFlowVar_(u, rho, vx, vy, e, P, p)
Structure containing all solver-specific variables and functions.
Contains structure definition for hypar.
#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.