#include <PhysIBC.H>
Collaboration diagram for PhysIBC:
Public Methods | |
PhysIBC () | |
Constructor. | |
virtual | ~PhysIBC () |
Destructor. | |
virtual void | define (const ProblemDomain &a_domain, const Real &a_dx) |
Define the object. | |
virtual PhysIBC * | new_physIBC ()=0 |
Factory method - this object is its own factory. | |
virtual 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)=0 |
Set boundary fluxes. | |
virtual void | setBdrySlopes (FArrayBox &a_dW, const FArrayBox &a_W, const int &a_dir, const Real &a_time)=0 |
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) |
Apply artificial viscosity at the boundary. | |
virtual void | initialize (LevelData< FArrayBox > &a_U)=0 |
Set up initial conditions. | |
Protected Attributes | |
bool | m_isDefined |
ProblemDomain | m_domain |
Real | m_dx |
Virtual base class through which a user specifies the initial and boundary conditions for a hyperbolic system of PDEs.
|
Constructor.
|
|
Destructor.
|
|
Apply artificial viscosity at the boundary. The default implementation of this currently does nothing. |
|
Define the object. Set the problem domain index space and the grid spacing for this initial and boundary condition object. |
|
Set boundary fluxes.
|
|
Set up initial conditions.
|
|
Factory method - this object is its own factory. Return a point to a new PhysIBC object with m_isDefined = false (i.e., its define() must be called before it is used). |
|
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. |
|
|
|
|
|
|