11 #ifndef _LEVELSOURCETERM_H_ 12 #define _LEVELSOURCETERM_H_ 19 #include "NamespaceHeader.H" 37 define(a_coordSysPtr, a_molPhysics, a_grids);
81 #include "NamespaceFooter.H" DisjointBoxLayout m_grids
Definition: LevelSourceTerm.H:72
bool m_isDefined
Definition: LevelSourceTerm.H:66
virtual void define(MultiBlockCoordSys *const a_coordSysPtr, const MOLPhysics *const a_molPhysics, const DisjointBoxLayout &a_grids, const RealVect &a_dx)
Define the object so that time stepping can begin (actual constructor)
Definition: LevelSourceTerm.H:32
Definition: MOLPhysics.H:37
virtual void addSourceTerm(LevelData< FArrayBox > &a_rhs, LevelData< FArrayBox > &a_U)
Increment a_rhs by source term, using a_U. Pure = 0; virtual function.
Definition: LevelSourceTerm.H:51
const MOLPhysics * m_molPhysics
Definition: LevelSourceTerm.H:70
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
MultiBlockCoordSys * m_coordSysPtr
Definition: LevelSourceTerm.H:68
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.
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
LevelSourceTerm()
Default constructor.
virtual void addSourceTerm(LevelData< FArrayBox > &a_rhs, LevelData< FArrayBox > &a_U, const RealVect &a_dx)
Definition: LevelSourceTerm.H:57
Definition: LevelSourceTerm.H:21
void operator=(const LevelSourceTerm &)
virtual LevelSourceTerm * new_sourceTerm() const =0
Object factory for this class. Pure virtual function.
virtual ~LevelSourceTerm()
Destructor.