26 int ghosts = solver->
ghosts;
33 if (physics->
mu <= 0)
return(0);
36 double mu = physics->
mu;
39 double *Q, *QDeriv, *FViscous, *FDeriv;
40 Q = (
double*) calloc (size,
sizeof(
double));
41 QDeriv = (
double*) calloc (size,
sizeof(
double));
42 FViscous = (
double*) calloc (size,
sizeof(
double));
43 FDeriv = (
double*) calloc (size,
sizeof(
double));
54 double drho,uvel,vvel,dT,rho0,T0,P0,EP,ycoord;
77 double rho, ux, vx, tx;
96 for (v=0; v<
_MODEL_NVARS_; v++) (par+p)[v] += (dxinv * (FDeriv+p)[v] );
109 double rho, uy, vy, ty;
128 for (v=0; v<
_MODEL_NVARS_; v++) (par+p)[v] += (dyinv * (FDeriv+p)[v] );
#define _ArraySetValue_(x, size, value)
void(* StandardAtmosphere)(void *, double, double *, double *, double *, double *)
#define _Numa2DGetFlowVars_(u, drho, uvel, vvel, dT, rho0)
#define _ArrayIncrementIndex_(N, imax, i, done)
MPI related function definitions.
#define _GetCoordinate_(dir, i, dim, ghosts, x, coord)
#define _ArrayIndex1D_(N, imax, i, ghost, index)
Contains function definitions for common mathematical functions.
#define _ArrayIndex1DWO_(N, imax, i, offset, ghost, index)
int(* FirstDerivativePar)(double *, double *, int, int, void *, void *)
#define _ArrayCopy1D_(x, y, size)
Contains structure definition for hypar.
Some basic definitions and macros.
Contains macros and function definitions for common array operations.
int MPIExchangeBoundariesnD(int, int, int *, int, void *, double *)
int Numa2DParabolicFunction(double *, double *, void *, void *, double)
Structure of MPI-related variables.
Structure containing all solver-specific variables and functions.