7 int Numa2DFlux(
double *f,
double *u,
int dir,
void *s,
double t)
14 int ghosts = solver->
ghosts;
15 int ndims = solver->
ndims;
16 int index[ndims], bounds[ndims], offset[ndims];
20 for (i=0; i<ndims; i++) bounds[i] += 2*ghosts;
28 double drho,uvel,vvel,dT,dP,rho0,T0,P0,EP,ycoord;
50 int ghosts = solver->
ghosts;
51 int ndims = solver->
ndims;
52 int index[ndims], bounds[ndims], offset[ndims];
56 for (i=0; i<ndims; i++) bounds[i] += 2*ghosts;
64 double drho,uvel,vvel,dT,dP,rho0,T0,P0,EP,ycoord;
#define _Numa2DComputeLinearizedPressure_(params, T0, dT, P0, dP)
Some basic definitions and macros.
Structure containing all solver-specific variables and functions.
#define _Numa2DComputePressure_(params, T0, dT, P0, dP)
Contains structure definition for hypar.
int Numa2DFlux(double *f, double *u, int dir, void *s, double t)
#define _Numa2DSetLinearFlux_(f, dir, drho, uvel, vvel, dT, dP, rho0, T0)
#define _Numa2DSetFlux_(f, dir, drho, uvel, vvel, dT, dP, rho0, T0)
int Numa2DStiffFlux(double *f, double *u, int dir, void *s, double t)
#define _ArrayIndex1DWO_(N, imax, i, offset, ghost, index)
#define _ArraySetValue_(x, size, value)
#define _ArrayIncrementIndex_(N, imax, i, done)
#define _GetCoordinate_(dir, i, dim, ghosts, x, coord)
#define _Numa2DGetFlowVars_(u, drho, uvel, vvel, dT, rho0)
void(* StandardAtmosphere)(void *, double, double *, double *, double *, double *)
#define _ArrayCopy1D_(x, y, size)
Contains macros and function definitions for common array operations.