#include <ExplosionMHDIBC.H>
Inheritance diagram for ExplosionIBC:
Public Member Functions | |
ExplosionIBC () | |
Null constructor. | |
ExplosionIBC (Real &a_smallPressure, const Real &a_gamma, const Real &a_pressure_jump, const Real &a_density_jump, const Real &a_p0, const Real &a_rho0, const int &a_B_direction, const Real &a_B_magnitude, const RealVect &a_center, const Real &a_size, const RealVect &a_velocity, const Real &a_artvisc) | |
Constructor which defines parameters used by Fortran routines. | |
virtual | ~ExplosionIBC () |
Destructor. | |
void | setFortranCommon (Real &a_smallPressure, const Real &a_gamma, const Real &a_pressure_jump, const Real &a_density_jump, const Real &a_p0, const Real &a_rho0, const int &a_B_direction, const Real &a_B_magnitude, const RealVect &a_center, const Real &a_size, const RealVect &a_velocity, const Real &a_artvisc) |
Sets parameters in a common block used by Fortran routines. | |
PhysIBC * | new_physIBC () |
Factory method - this object is its own factory. | |
void | initialize (LevelData< FArrayBox > &a_U) |
Set up initial conditions. | |
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. | |
Protected Attributes | |
bool | m_isFortranCommonSet |
Parameters: a_smallPressure - Lower limit for pressure (returned) a_gamma - Gamma for polytropic, gamma-law gas a_pressure_jump - p/p_0 inside explosion at initial time a_density_jump - rho/rho_0 inside explosion at initial time a_p0 - background pressure outside explosion a_rho0 - background density outside explosion a_B_direction - direction of initial magnetic field a_B_magnitude - magnitude of initially constant magnetic field a_center - Center of the explosion a_size - Initial radius of the explosion a_velocity - Initial velocity of the system a_artvisc - Artificial viscosity coefficient
|
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_pressure_jump - p/p_0 inside explosion at initial time a_density_jump - rho/rho_0 inside explosion at initial time a_p0 - background pressure outside explosion a_rho0 - background density outside explosion a_B_direction - direction of initial magnetic field a_B_magnitude - magnitude of initially constant magnetic field a_center - Center of the explosion a_size - Initial radius of the explosion a_velocity - Initial velocity of the system a_artvisc - Artificial viscosity coefficient |
|
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.
|
|
|