32 int ghosts = solver->
ghosts;
33 static int index[
_MODEL_NDIMS_], bounds[_MODEL_NDIMS_], offset[_MODEL_NDIMS_];
43 double rho, vx, vy, e, P;
74 int ghosts = solver->
ghosts;
76 static int index[
_MODEL_NDIMS_], bounds[_MODEL_NDIMS_], offset[_MODEL_NDIMS_];
86 double *Af = param->
fast_jac+(2*p+dir)*JacSize;
115 int ghosts = solver->
ghosts;
117 static int index[
_MODEL_NDIMS_], bounds[_MODEL_NDIMS_], offset[_MODEL_NDIMS_];
129 double rho, vx, vy, e, P;
133 double *Af = param->
fast_jac+(2*p+dir)*JacSize;
134 MatVecMult4(_MODEL_NVARS_,fstiff,Af,(u+_MODEL_NVARS_*p));
#define _ArraySetValue_(x, size, value)
#define _ArrayIncrementIndex_(N, imax, i, done)
int NavierStokes2DFlux(double *f, double *u, int dir, void *s, double t)
#define _ArraySubtract1D_(x, a, b, size)
2D Navier Stokes equations (compressible flows)
Contains function definitions for common mathematical functions.
#define _ArrayIndex1DWO_(N, imax, i, offset, ghost, index)
int NavierStokes2DStiffFlux(double *f, double *u, int dir, void *s, double t)
#define _NavierStokes2DSetFlux_(f, rho, vx, vy, e, P, dir)
Contains structure definition for hypar.
#define MatVecMult4(N, y, A, x)
#define _NavierStokes2DGetFlowVar_(u, rho, vx, vy, e, P, gamma)
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.
Contains macros and function definitions for common array operations.
#define _ArrayAddCopy1D_(x, a, y, size)
int NavierStokes2DNonStiffFlux(double *f, double *u, int dir, void *s, double t)
Structure containing all solver-specific variables and functions.
Contains macros and function definitions for common matrix multiplication.