33 k = 0; D[k] =
absolute( (1-aupw)*D[k] + 0.5*aupw*(1+upw)*
max(0,D[k]) + 0.5*aupw*(1-upw)*
min(0,D[k]) );
34 k = 4; D[k] =
absolute( (1-aupw)*D[k] + 0.5*aupw*(1+upw)*
max(0,D[k]) + 0.5*aupw*(1-upw)*
min(0,D[k]) );
35 k = 8; D[k] =
absolute( (1-aupw)*D[k] + 0.5*aupw*(1+upw)*
max(0,D[k]) + 0.5*aupw*(1-upw)*
min(0,D[k]) );
68 k = 4; D[k] =
absolute( (1-aupw)*D[k] + 0.5*aupw*(1+upw)*
max(0,D[k]) + 0.5*aupw*(1-upw)*
min(0,D[k]) );
69 k = 8; D[k] =
absolute( (1-aupw)*D[k] + 0.5*aupw*(1+upw)*
max(0,D[k]) + 0.5*aupw*(1-upw)*
min(0,D[k]) );
#define _Euler1DRightEigenvectors_(u, R, p, dir)
#define MatMult3(N, A, X, Y)
Contains function definitions for common mathematical functions.
#define _Euler1DEigenvalues_(u, D, p, dir)
int Euler1DStiffJacobian(double *, double *, void *, int, int, int)
1D Euler Equations (inviscid, compressible flows)
Structure containing variables and parameters specific to the 1D Euler equations. This structure cont...
Contains macros and function definitions for common matrix multiplication.
int Euler1DJacobian(double *, double *, void *, int, int, int)
#define _Euler1DLeftEigenvectors_(u, L, p, dir)