43 int ghosts = solver->
ghosts;
45 int ndims = solver->
ndims;
46 int index[ndims], bounds[ndims], offset[ndims];
50 int i;
for (i=0; i<ndims; i++) bounds[i] += 2*ghosts;
56 double inv_gamma_m1 = 1.0 / (param->
gamma-1.0);
60 double rho, uvel, vvel, E, P;
#define _ArraySetValue_(x, size, value)
#define _ArrayIncrementIndex_(N, imax, i, done)
MPI related function definitions.
2D Navier Stokes equations (compressible flows)
#define _ArrayIndex1DWO_(N, imax, i, offset, ghost, index)
#define _ArrayCopy1D_(x, y, size)
Contains structure definition for hypar.
#define _NavierStokes2DGetFlowVar_(u, rho, vx, vy, e, P, gamma)
int NavierStokes2DModifiedSolution(double *, double *, int, void *, void *, double)
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.