9 int Numa2DRusanovFlux(
double *fI,
double *fL,
double *fR,
double *uL,
double *uR,
double *u,
int dir,
void *s,
double t)
16 int ghosts = solver->
ghosts;
22 done = 0;
int index_outer[2] = {0,0}, index_inter[2];
25 for (index_inter[dir] = 0; index_inter[dir] < bounds_inter[dir]; index_inter[dir]++) {
28 double ycoordL, ycoordR;
49 double alphaL = c +
absolute(vel[dir]);
55 double alphaR = c +
absolute(vel[dir]);
57 double alpha =
max(alphaL,alphaR);
76 int ghosts = solver->
ghosts;
82 done = 0;
int index_outer[2] = {0,0}, index_inter[2];
85 for (index_inter[dir] = 0; index_inter[dir] < bounds_inter[dir]; index_inter[dir]++) {
88 double ycoordL, ycoordR;
117 double alpha =
max(alphaL,alphaR);
#define _Numa2DComputeSpeedofSound_(gamma, R, T0, dT, rho0, drho, EP, c)
Contains function definitions for common mathematical functions.
int Numa2DRusanovLinearFlux(double *fI, double *fL, double *fR, double *uL, double *uR, double *u, int dir, void *s, double t)
Some basic definitions and macros.
Structure containing all solver-specific variables and functions.
Contains structure definition for hypar.
#define _Numa2DComputeLinearizedSpeedofSound_(gamma, R, T0, rho0, EP, c)
#define _ArrayCopy1D2_(x, y, size)
#define _ArrayIncrementIndex_(N, imax, i, done)
#define _GetCoordinate_(dir, i, dim, ghosts, x, coord)
#define _Numa2DGetFlowVars_(u, drho, uvel, vvel, dT, rho0)
int Numa2DRusanovFlux(double *fI, double *fL, double *fR, double *uL, double *uR, double *u, int dir, void *s, double t)
#define _ArrayIndex1D2_(N, imax, i, ghost, index)
void(* StandardAtmosphere)(void *, double, double *, double *, double *, double *)
Contains macros and function definitions for common array operations.