19 #ifndef _PHYSMAPPEDIBC_H_ 20 #define _PHYSMAPPEDIBC_H_ 26 #include "NamespaceHeader.H" 81 MayDay::Error(
"Initialize with J not defined for this derivation from " 95 MayDay::Error(
"Cartesian interface to primBC not valid for mapped grids");
104 const FArrayBox *
const a_unitNormalBasisPtr,
108 const Real& a_time) = 0;
120 const Real& a_time) = 0;
132 MayDay::Error(
"Cartesian interface to artViscBC not valid for mapped " 150 const Box& a_loFaceBox,
152 const Box& a_hiFaceBox,
154 const int a_dir) = 0;
172 #include "NamespaceFooter.H"
virtual void print()
Definition: PhysMappedIBC.H:72
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
virtual void setTime(Real a_time)
virtual void initializeWithJ(LevelData< FArrayBox > &a_U)
Definition: PhysMappedIBC.H:79
virtual void artViscBC(FArrayBox &a_F, const FArrayBox &a_U, const FArrayBox &a_divVel, const int &a_dir, const Real &a_time)
Old artificial viscosity for Cartesian methods – will cause an error.
Definition: PhysMappedIBC.H:126
virtual PhysMappedIBC * new_physIBC()=0
Factory method - this object is its own factory.
Structure for passing component ranges in code.
Definition: Interval.H:23
Forward declarations for class CHArray.
double Real
Definition: REAL.H:33
Physical/domain initial and boundary conditions.
Definition: PhysMappedIBC.H:33
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)
Old set boundary fluxes for Cartesian methods – will cause an error.
Definition: PhysMappedIBC.H:88
MultiBlockCoordSys * m_coordSysPtr
Definition: PhysMappedIBC.H:161
LoHiSide
Definition: LoHiSide.H:27
virtual interface class encapsulating multi-block mapping API
Definition: MultiBlockCoordSys.H:34
static void Error(const char *const a_msg=m_nullString, int m_exitCode=CH_DEFAULT_ERROR_CODE)
Print out message to cerr and exit with the specified exit code.
virtual void setBdrySlopes(FArrayBox &a_dW, const FArrayBox &a_W, const int &a_dir, const Real &a_time)=0
Set boundary slopes.
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:469
bool haveExactSoln() const
Do we have the exact solution.
virtual void initialize(LevelData< FArrayBox > &a_U)=0
Set up initial conditions.
bool m_haveExactSoln
Definition: PhysMappedIBC.H:169
Definition: FArrayBox.H:45
PhysMappedIBC()
Constructor.
Physical/domain initial and boundary conditions.
Definition: PhysIBC.H:33
bool m_haveCoordSys
Definition: PhysMappedIBC.H:165
virtual void setCoordSys(MultiBlockCoordSys *a_coordSysPtr)
virtual ~PhysMappedIBC()
Destructor.
Virtual base class encapsulating mapped-grid coordinate systems.
Definition: NewCoordSys.H:30
bool m_haveTime
Definition: PhysMappedIBC.H:167
virtual void define(const ProblemDomain &a_domain, const Real &a_dx)
Define the object.
Real m_time
Definition: PhysMappedIBC.H:163