#include <RampIBC.H>
Inheritance diagram for RampIBC:
Public Member Functions | |
RampIBC () | |
Null Constructor. | |
RampIBC (Real &a_smallPressure, const Real &a_gamma, const Real &a_alpha, const Real &a_ms, const Real &a_xcorner, const Real &a_artvisc, const Real &a_riemannSolTol, const int &a_maxRsIter, const Real &a_maxMach) | |
Constructor which defines parameters used by Fortran routines. | |
virtual | ~RampIBC () |
Destructor. | |
void | setFortranCommon (Real &a_smallPressure, const Real &a_gamma, const Real &a_alpha, const Real &a_ms, const Real &a_xcorner, const Real &a_artvisc, const Real &a_riemannSolTol, const int &a_maxRsIter, const Real &a_maxMach) |
Sets parameters in a common block used by Fortran routines. | |
void | setFortranCommonSet () |
Set the flag m_isFortranCommonSet to true. | |
PhysIBC * | new_physIBC () |
Factory method - this object is its own factory. | |
virtual void | initialize (LevelData< FArrayBox > &a_U) |
Set up initial conditions. | |
virtual void | primBC (FArrayBox &a_WGdnv, const FArrayBox &a_Wextrap, const FArrayBox &a_W, const int &a_dir, const Side::LoHiSide &a_side, const Real &a_time) |
Set boundary primitive values. | |
virtual void | setBdrySlopes (FArrayBox &a_dW, const FArrayBox &a_W, const int &a_dir, const Real &a_time) |
Set boundary slopes. | |
virtual void | artViscBC (FArrayBox &a_F, const FArrayBox &a_U, const FArrayBox &a_divVel, const int &a_dir, const Real &a_time) |
Adjust boundary fluxes to account for artificial viscosity. | |
Protected Attributes | |
bool | m_isFortranCommonSet |
Parameters: a_smallPressure - Lower limit for pressure (returned) a_gamma - Gamma for polytropic, gamma-law gas a_alpha - The angle from horizontal to the wedge edge a_ms - Mach shock number a_xcorner - Position of the corner/tip of the wedge a_artvisc - Artificial viscosity coefficient a_maxMach - maximum Mach number beyond which to use the entropy instead of the pressure This entire problem is rotated so that the wedge edge is horizontal in the problem domain.
|
Null Constructor.
|
|
Constructor which defines parameters used by Fortran routines. Parameters: a_smallPressure - Lower limit for pressure (returned) a_gamma - Gamma for polytropic, gamma-law gas a_alpha - The angle from horizontal to the wedge edge a_ms - Mach shock number a_xcorner - Position of the corner/tip of the wedge a_artvisc - Artificial viscosity coefficient a_maxMach - maximum Mach number beyond which to use the entropy instead of the pressure This entire problem is rotated so that the wedge edge is horizontal in the problem domain. |
|
Destructor.
|
|
Adjust boundary fluxes to account for artificial viscosity.
Implements PhysIBC. |
|
Set up initial conditions.
Implements PhysIBC. |
|
Factory method - this object is its own factory. Return a pointer to a new PhysIBC object with m_isDefined = false (i.e., its define() must be called before it is used) and m_isFortranCommonSet set to value of m_isFortranCommonset in the current (factory) object. Implements PhysIBC. |
|
Set boundary primitive values.
Implements PhysIBC. |
|
Set boundary slopes. The boundary slopes in a_dW are already set to one sided difference approximations. If this function doesn't change them they will be used for the slopes at the boundaries. Implements PhysIBC. |
|
Sets parameters in a common block used by Fortran routines. Parameters: a_smallPressure - Lower limit for pressure (returned) a_gamma - Gamma for polytropic, gamma-law gas a_alpha - The angle from horizontal to the wedge edge a_ms - Mach shock number a_xcorner - Position of the corner/tip of the wedge a_artvisc - Artificial viscosity coefficient a_maxMach - maximum Mach number beyond which to use the entropy instead of the pressure This entire problem is rotated so that the wedge edge is horizontal in the problem domain. |
|
Set the flag m_isFortranCommonSet to true. Set the flag m_isFortranCommonSet to true so that new IBCs made with new_physIBC() will have this flag set without calling setFortranCommon() (this is a clumsy design and should be improved). |
|
|