CG  Version 25
Macros | Functions | Variables
FlowSolutions.C File Reference
#include "FlowSolutions.h"
#include "PistonMotion.h"
Include dependency graph for FlowSolutions.C:

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
 

Macro Definition Documentation

#define CHARACTERISTIC_FORCED_PISTON (   tau)    ( G_FORCED_PISTON(tau) + (cc6+cc7*GT_FORCED_PISTON(tau))*(cc8-(tau))+cc9 )
#define dfmin   EXTERN_C_NAME(dfmin)
#define dfmin2   EXTERN_C_NAME(dfmin2)
#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. ) ) )
#define GT_FORCED_PISTON (   t)    ( (-1./cc1)*( 1. - pow( 1.+cc3*cc5*(t), (-1.)/(cc2-1.) ) ) )
#define zeroin   EXTERN_C_NAME(zeroin)

Function Documentation

real boundaryFunction ( const real &  xi)
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 
)
real muFromPmu ( real  pmuVal)
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 
)

Variable Documentation

Mapping* mapPointer =NULL