32 const double*
const u,
41 int ghosts = solver->
ghosts;
42 int ndims = solver->
ndims;
43 int index[ndims], bounds[ndims], offset[ndims];
47 for (i=0; i<ndims; i++) bounds[i] += 2*ghosts;
55 double rho, vx, vy, vz, e, pressure;
66 const double*
const u,
75 int ghosts = solver->
ghosts;
76 int ndims = solver->
ndims;
77 int index[ndims], bounds[ndims], offset[ndims];
81 for (i=0; i<ndims; i++) bounds[i] += 2*ghosts;
89 double rho, vx, vy, vz, e, pressure;
91 T[idx] = pressure/rho;
#define _NavierStokes3DGetFlowVar_(u, stride, rho, vx, vy, vz, e, P, gamma)
#define _ArraySetValue_(x, size, value)
int NavierStokes3DComputePressure(double *P, const double *const u, void *s)
3D Navier Stokes equations (compressible flows)
#define _ArrayIncrementIndex_(N, imax, i, done)
int NavierStokes3DComputeTemperature(double *T, const double *const u, void *s)
int NavierStokes3DRoeAverage(double *uavg, double *uL, double *uR, void *p)
#define _ArrayIndex1DWO_(N, imax, i, offset, ghost, index)
#define _ArrayCopy1D_(x, y, size)
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.
#define _NavierStokes3DRoeAverage_(uavg, stride, uL, uR, gamma)
Structure containing all solver-specific variables and functions.
static const int _NavierStokes3D_stride_