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);
59 double rho, uvel, vvel, wvel, E, P;
MPI related function definitions.
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.
3D Navier Stokes equations (compressible flows)
Structure containing all solver-specific variables and functions.
Contains structure definition for hypar.
#define _ArrayIndex1DWO_(N, imax, i, offset, ghost, index)
static const int _NavierStokes3D_stride_
#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.
int NavierStokes3DModifiedSolution(double *uC, double *u, int d, void *s, void *m, double waqt)
#define _NavierStokes3DGetFlowVar_(u, stride, rho, vx, vy, vz, e, P, gamma)