28 int ghosts = solver->
ghosts;
29 int ndims = solver->
ndims;
31 double *u = solver->
u;
37 double rho,vx,vy,e,P,c,dxinv,dyinv,local_cfl[2];
40 c = sqrt(param->
gamma*P/rho);
46 if (local_cfl[_XDIR_] > max_cfl) max_cfl = local_cfl[
_XDIR_];
47 if (local_cfl[_YDIR_] > max_cfl) max_cfl = local_cfl[
_YDIR_];
#define _ArraySetValue_(x, size, value)
#define _ArrayIncrementIndex_(N, imax, i, done)
#define _GetCoordinate_(dir, i, dim, ghosts, x, coord)
#define _ArrayIndex1D_(N, imax, i, ghost, index)
2D Navier Stokes equations (compressible flows)
Contains function definitions for common mathematical functions.
double NavierStokes2DComputeCFL(void *s, void *m, double dt, double t)
Contains structure definition for hypar.
#define _NavierStokes2DGetFlowVar_(u, rho, vx, vy, e, P, gamma)
Some basic definitions and macros.
Structure containing variables and parameters specific to the 2D Navier Stokes equations. This structure contains the physical parameters, variables, and function pointers specific to the 2D Navier-Stokes equations.
Contains macros and function definitions for common array operations.
Structure containing all solver-specific variables and functions.