CG
Version 25
|
Macros | |
#define | FOR_3D(i1, i2, i3, I1, I2, I3) int I1Base =I1.getBase(), I2Base =I2.getBase(), I3Base =I3.getBase(); int I1Bound=I1.getBound(), I2Bound=I2.getBound(), I3Bound=I3.getBound(); for(i3=I3Base; i3<=I3Bound; i3++) for(i2=I2Base; i2<=I2Bound; i2++) for(i1=I1Base; i1<=I1Bound; i1++) |
#define | FOR_3(i1, i2, i3, I1, I2, I3) I1Base =I1.getBase(), I2Base =I2.getBase(), I3Base =I3.getBase(); I1Bound=I1.getBound(), I2Bound=I2.getBound(), I3Bound=I3.getBound(); for(i3=I3Base; i3<=I3Bound; i3++) for(i2=I2Base; i2<=I2Bound; i2++) for(i1=I1Base; i1<=I1Bound; i1++) |
#define | zeroin EXTERN_C_NAME(zeroin) |
#define | dfmin EXTERN_C_NAME(dfmin) |
#define | dfmin2 EXTERN_C_NAME(dfmin2) |
#define | G_FORCED_PISTON(t) ( (-1./cc1)*( (t) - (cc2-1.)/(cc2-2.)/(cc3*cc5)*(pow( 1.+cc3*cc5*(t), (cc2-2.)/(cc2-1.) ) -1. ) ) ) |
#define | GT_FORCED_PISTON(t) ( (-1./cc1)*( 1. - pow( 1.+cc3*cc5*(t), (-1.)/(cc2-1.) ) ) ) |
#define | CHARACTERISTIC_FORCED_PISTON(tau) ( G_FORCED_PISTON(tau) + (cc6+cc7*GT_FORCED_PISTON(tau))*(cc8-(tau))+cc9 ) |
Functions | |
real | zeroin (real &ax, real &bx, real(*f)(const real &), real &tol) |
real | dfmin (real(*f)(const real &), real &x, real &a, real &b, real &tol) |
real | dfmin2 (real(*f)(const real &), real &x, real &a, real &b, real &tol) |
real | pmu (const real &mu) |
real | pmuSquared (const real &mu) |
real | muFromPmu (real pmuVal) |
void | evaluateBoundaryCurve (const real &xi, real &x0xi, real &y0xi, real &xr, real &yr) |
real | boundaryFunction (const real &xi) |
int | findStartOfCPlusCharacteristic (real &x, real &y, real &xi, real &thetaw, real &muw, real a, real b) |
Variables | |
Mapping * | mapPointer =NULL |
#define CHARACTERISTIC_FORCED_PISTON | ( | tau | ) | ( G_FORCED_PISTON(tau) + (cc6+cc7*GT_FORCED_PISTON(tau))*(cc8-(tau))+cc9 ) |
#define dfmin EXTERN_C_NAME(dfmin) |
Referenced by PistonMotion::getFlow(), FlowSolutions::getPistonFlow(), and muFromPmu().
#define dfmin2 EXTERN_C_NAME(dfmin2) |
Referenced by findStartOfCPlusCharacteristic().
#define FOR_3 | ( | i1, | |
i2, | |||
i3, | |||
I1, | |||
I2, | |||
I3 | |||
) | I1Base =I1.getBase(), I2Base =I2.getBase(), I3Base =I3.getBase(); I1Bound=I1.getBound(), I2Bound=I2.getBound(), I3Bound=I3.getBound(); for(i3=I3Base; i3<=I3Bound; i3++) for(i2=I2Base; i2<=I2Bound; i2++) for(i1=I1Base; i1<=I1Bound; i1++) |
#define FOR_3D | ( | i1, | |
i2, | |||
i3, | |||
I1, | |||
I2, | |||
I3 | |||
) | int I1Base =I1.getBase(), I2Base =I2.getBase(), I3Base =I3.getBase(); int I1Bound=I1.getBound(), I2Bound=I2.getBound(), I3Bound=I3.getBound(); for(i3=I3Base; i3<=I3Bound; i3++) for(i2=I2Base; i2<=I2Bound; i2++) for(i1=I1Base; i1<=I1Bound; i1++) |
#define G_FORCED_PISTON | ( | t | ) | ( (-1./cc1)*( (t) - (cc2-1.)/(cc2-2.)/(cc3*cc5)*(pow( 1.+cc3*cc5*(t), (cc2-2.)/(cc2-1.) ) -1. ) ) ) |
Referenced by FlowSolutions::getPistonFlow().
#define GT_FORCED_PISTON | ( | t | ) | ( (-1./cc1)*( 1. - pow( 1.+cc3*cc5*(t), (-1.)/(cc2-1.) ) ) ) |
Referenced by FlowSolutions::getPistonFlow().
#define zeroin EXTERN_C_NAME(zeroin) |
Referenced by FluidPiston::fluidSolidRiemannProblem().
real boundaryFunction | ( | const real & | xi | ) |
References evaluateBoundaryCurve(), and muFromPmu().
Referenced by findStartOfCPlusCharacteristic().
real dfmin | ( | real(*)(const real &) | f, |
real & | x, | ||
real & | a, | ||
real & | b, | ||
real & | tol | ||
) |
real dfmin2 | ( | real(*)(const real &) | f, |
real & | x, | ||
real & | a, | ||
real & | b, | ||
real & | tol | ||
) |
void evaluateBoundaryCurve | ( | const real & | xi, |
real & | x0xi, | ||
real & | y0xi, | ||
real & | xr, | ||
real & | yr | ||
) |
int findStartOfCPlusCharacteristic | ( | real & | x, |
real & | y, | ||
real & | xi, | ||
real & | thetaw, | ||
real & | muw, | ||
real | a, | ||
real | b | ||
) |
References a, boundaryFunction(), dfmin2, evaluateBoundaryCurve(), muFromPmu(), tol, x, and y.
Referenced by FlowSolutions::getSupersonicExpandingFlow().
real muFromPmu | ( | real | pmuVal | ) |
References a, dfmin, mu, pmuSquared(), and tol.
Referenced by boundaryFunction(), findStartOfCPlusCharacteristic(), and FlowSolutions::getSupersonicExpandingFlow().
real pmu | ( | const real & | mu | ) |
Referenced by pmuSquared().
real pmuSquared | ( | const real & | mu | ) |
References pmu().
Referenced by muFromPmu().
real zeroin | ( | real & | ax, |
real & | bx, | ||
real(*)(const real &) | f, | ||
real & | tol | ||
) |
Mapping* mapPointer =NULL |
Referenced by DomainSolver::buildGrid(), MovingGrids::moveGrids(), and Maxwell::setupGrids().