#include <DustCollapseIBC.H>
Inheritance diagram for DustCollapseIBC:
Public Member Functions | |
DustCollapseIBC () | |
Null constructor. | |
DustCollapseIBC (const Real &a_gamma, const Real &a_radius, const Real &a_density, const Real &a_artvisc, const Real &a_rsTolerance, const Real &a_maxRsIter, const Real &a_maxMach) | |
Constructor which defines parameters used by Fortran routines. | |
~DustCollapseIBC () | |
Destructor. | |
void | setFortranCommon (const Real &a_gamma, const Real &a_radius, const Real &a_density, const Real &a_artvisc, const Real &a_rsTolerance, const Real &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. | |
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. | |
void | setBdrySlopes (FArrayBox &a_dW, const FArrayBox &a_W, const int &a_dir, const Real &a_time) |
Set boundary slopes. | |
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. | |
void | initialize (LevelData< FArrayBox > &a_U) |
Set up initial conditions for gas. | |
Protected Attributes | |
Real | m_density |
Real | m_radius |
bool | m_isFortranCommonSet |
Initial conditions parameters a_cloudRadius - Initial radius of the dust sphere a_cloudDensity - Initial density of the dust sphere
|
Null constructor.
|
|
Constructor which defines parameters used by Fortran routines.
|
|
Destructor.
|
|
Adjust boundary fluxes to account for artificial viscosity.
Implements PhysIBC. |
|
Set up initial conditions for gas.
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.
Implements PhysIBC. |
|
Sets parameters in a common block used by Fortran routines.
|
|
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). |
|
|
|
|
|
|