27 int ghosts = solver->
ghosts;
28 int ndims = solver->
ndims;
30 double *u = solver->
u;
36 double rho, vx, vy, vz, e, P, c, dxinv, dyinv, dzinv, local_cfl[3];
39 c = sqrt(param->
gamma*P/rho);
47 if (local_cfl[_XDIR_] > max_cfl) max_cfl = local_cfl[
_XDIR_];
48 if (local_cfl[_YDIR_] > max_cfl) max_cfl = local_cfl[
_YDIR_];
49 if (local_cfl[_ZDIR_] > max_cfl) max_cfl = local_cfl[
_ZDIR_];
#define _NavierStokes3DGetFlowVar_(u, stride, rho, vx, vy, vz, e, P, gamma)
#define _ArraySetValue_(x, size, value)
3D Navier Stokes equations (compressible flows)
#define _ArrayIncrementIndex_(N, imax, i, done)
#define _GetCoordinate_(dir, i, dim, ghosts, x, coord)
double NavierStokes3DComputeCFL(void *s, void *m, double dt, double t)
#define _ArrayIndex1D_(N, imax, i, ghost, index)
Contains function definitions for common mathematical functions.
Contains structure definition for hypar.
Structure containing variables and parameters specific to the 3D Navier Stokes equations. This structure contains the physical parameters, variables, and function pointers specific to the 3D Navier-Stokes equations.
Some basic definitions and macros.
Contains macros and function definitions for common array operations.
Structure containing all solver-specific variables and functions.
static const int _NavierStokes3D_stride_