#include <ChannelModianoIBC.H>


Parameters: a_smallPressure - Lower limit for pressure (returned) a_gamma - Gamma for polytropic, gamma-law gas a_ambientdensity - Ambient density a_deltadensity - Amplitude of the perturbation a_center - Center of the perturbation a_width - Width of the perturbation a_artvisc - Artificial viscosity coefficient
Public Member Functions | |
| ChannelModianoIBC () | |
| Null Constructor. | |
| ChannelModianoIBC (Real &a_smallPressure, const Real &a_gamma, const Real &a_ambientDensity, const Real &a_deltaDensity, const Real &a_center, const Real &a_width, const Real &a_artvisc) | |
| Constructor which defines parameters used by Fortran routines. | |
| virtual | ~ChannelModianoIBC () |
| Destructor. | |
| void | setFortranCommon (Real &a_smallPressure, const Real &a_gamma, const Real &a_ambientDensity, const Real &a_deltaDensity, const Real &a_center, const Real &a_width, const Real &a_artvisc) |
| 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 |
| ChannelModianoIBC::ChannelModianoIBC | ( | ) |
Null Constructor.
| ChannelModianoIBC::ChannelModianoIBC | ( | Real & | a_smallPressure, | |
| const Real & | a_gamma, | |||
| const Real & | a_ambientDensity, | |||
| const Real & | a_deltaDensity, | |||
| const Real & | a_center, | |||
| const Real & | a_width, | |||
| const Real & | a_artvisc | |||
| ) |
Constructor which defines parameters used by Fortran routines.
| virtual ChannelModianoIBC::~ChannelModianoIBC | ( | ) | [virtual] |
Destructor.
| void ChannelModianoIBC::setFortranCommon | ( | Real & | a_smallPressure, | |
| const Real & | a_gamma, | |||
| const Real & | a_ambientDensity, | |||
| const Real & | a_deltaDensity, | |||
| const Real & | a_center, | |||
| const Real & | a_width, | |||
| const Real & | a_artvisc | |||
| ) |
Sets parameters in a common block used by Fortran routines.
| void ChannelModianoIBC::setFortranCommonSet | ( | ) |
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).
| PhysIBC* ChannelModianoIBC::new_physIBC | ( | ) | [virtual] |
| virtual void ChannelModianoIBC::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 | |||
| ) | [virtual] |
| virtual void ChannelModianoIBC::setBdrySlopes | ( | FArrayBox & | a_dW, | |
| const FArrayBox & | a_W, | |||
| const int & | a_dir, | |||
| const Real & | a_time | |||
| ) | [virtual] |
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.
bool ChannelModianoIBC::m_isFortranCommonSet [protected] |
1.5.5