#include <WaveMHDIBC.H>
Inheritance diagram for WaveMHDIBC:
Public Member Functions | |
WaveMHDIBC () | |
Null constructor. | |
WaveMHDIBC (Real &a_smallPressure, const Real &a_gamma, const Real &a_alpha, const int &a_pdir, const int &a_kratio, const int &a_waveNumber, const Real &a_pertAmplitude) | |
Constructor which defines parameters used by Fortran routines. | |
virtual | ~WaveMHDIBC () |
Destructor. | |
void | setFortranCommon (Real &a_smallPressure, const Real &a_gamma, const Real &a_alpha, const int &a_pdir, const int &a_kratio, const int &a_waveNumber, const Real &a_pertAmplitude) |
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 fluxes. | |
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 | initializePhi (LevelData< FArrayBox > &a_U) |
Initialize phi. | |
void | phiBC (FArrayBox &a_U, const ProblemDomain &a_domain, const Real &a_dxLevel) |
set boundary conditions on phi | |
void | fluxBC (FArrayBox &a_F, const FArrayBox &a_W, const FArrayBox &a_Wextrap, const int &a_dir, const Side::LoHiSide &a_side, const Real &a_time) |
set flux boundary conditions | |
virtual void | parabolicFluxBC (FArrayBox &a_F, FArrayBox &a_W, const int &a_dir, const Side::LoHiSide &a_side, const Real &a_time) |
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_pdir - a_kratio - a_waveNumber - The wave number of the plane-wave a_pertAmplitude -
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.
|
|
Destructor.
|
|
Adjust boundary fluxes to account for artificial viscosity.
Implements PhysIBC. |
|
set flux boundary conditions
|
|
Set up initial conditions.
Implements PhysIBC. |
|
Initialize phi.
|
|
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_isFortranCommonsset in the current (factory) object. Implements PhysIBC. |
|
|
|
set boundary conditions on phi
|
|
Set boundary fluxes.
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.
|
|
|