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;
MPI related function definitions.
#define _NavierStokes2DGetFlowVar_(u, rho, vx, vy, e, P, gamma)
Some basic definitions and macros.
int NavierStokes2DModifiedSolution(double *uC, double *u, int d, void *s, void *m, double waqt)
Structure containing all solver-specific variables and functions.
Contains structure definition for hypar.
2D Navier Stokes equations (compressible flows)
#define _ArrayIndex1DWO_(N, imax, i, offset, ghost, index)
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.
#define _ArraySetValue_(x, size, value)
#define _ArrayIncrementIndex_(N, imax, i, done)
#define _ArrayCopy1D_(x, y, size)
Contains macros and function definitions for common array operations.