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;
int NavierStokes3DComputeTemperature(double *T, const double *const u, void *s)
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.
#define _NavierStokes3DRoeAverage_(uavg, stride, uL, uR, gamma)
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)
int NavierStokes3DRoeAverage(double *uavg, double *uL, double *uR, void *p)
#define _ArrayCopy1D_(x, y, size)
Contains macros and function definitions for common array operations.
int NavierStokes3DComputePressure(double *P, const double *const u, void *s)
#define _NavierStokes3DGetFlowVar_(u, stride, rho, vx, vy, vz, e, P, gamma)