36 int ghosts = solver->
ghosts;
37 int ndims = solver->
ndims;
38 int index[ndims], bounds[ndims], offset[ndims];
42 for (i=0; i<ndims; i++) bounds[i] += 2*ghosts;
50 double rho, vx, vy, vz, e, P;
81 int ghosts = solver->
ghosts;
122 int ghosts = solver->
ghosts;
136 double rho, vx, vy, vz, e, P;
int NavierStokes3DNonStiffFlux(double *f, double *u, int dir, void *s, double t)
int NavierStokes3DFlux(double *f, double *u, int dir, void *s, double t)
Contains function definitions for common mathematical functions.
#define _NavierStokes3DSetFlux_(f, stride, rho, vx, vy, vz, e, P, dir)
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)
#define _ArraySubtract1D_(x, a, b, size)
#define _ArrayAddCopy1D_(x, a, y, size)
Structure containing all solver-specific variables and functions.
int NavierStokes3DStiffFlux(double *f, double *u, int dir, void *s, double t)
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)
Contains macros and function definitions for common matrix multiplication.
#define MatVecMult5(N, y, A, x)
#define _ArrayCopy1D_(x, y, size)
Contains macros and function definitions for common array operations.
#define _NavierStokes3DGetFlowVar_(u, stride, rho, vx, vy, vz, e, P, gamma)