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] );
int MPIExchangeBoundariesnD(int, int, int *, int, void *, double *)
Structure containing all solver-specific variables and functions.
#define _ArrayIndex1D_(N, imax, i, ghost, index)
#define _ArrayIndex1DWO_(N, imax, i, offset, ghost, index)
#define _ArraySetValue_(x, size, value)
#define _ArrayIncrementIndex_(N, imax, i, done)
int(* FirstDerivativePar)(double *, double *, int, int, void *, void *)
#define _GetCoordinate_(dir, i, dim, ghosts, x, coord)
#define _Numa2DGetFlowVars_(u, drho, uvel, vvel, dT, rho0)
Structure of MPI-related variables.
void(* StandardAtmosphere)(void *, double, double *, double *, double *, double *)
#define _ArrayCopy1D_(x, y, size)