13 #ifndef _BLOCKREGISTER_H_ 14 #define _BLOCKREGISTER_H_ 24 #include "NamespaceHeader.H" 57 const int& a_ghost = 0 );
72 const int& a_ghost = 0 );
209 #include "NamespaceFooter.H" 211 #endif // include guard bool m_isOpen
Definition: BlockRegister.H:203
BlockBaseRegister< FArrayBox > m_auxRegister
Definition: BlockRegister.H:206
Class to hold data on a mapped multiblock domain block boundary.
Definition: BlockRegister.H:27
BlockBaseRegister< FArrayBox > m_fluxRegister
Definition: BlockRegister.H:205
void storeFlux(const FArrayBox &a_flux, const DataIndex &a_dataIndex, int a_dir, Side::LoHiSide a_side)
Store fluxes on block-boundary faces.
void incrementAux(const FArrayBox &a_data, const DataIndex &a_dataIndex, int a_dir, Side::LoHiSide a_side)
Store auxiliary data on block-boundary faces including layers of ghost faces.
bool hasInterface(const DataIndex &a_dataIndex, int a_dir, Side::LoHiSide a_side) const
Returns whether or not a box has a block-boundary interface on one of its faces.
virtual void setVerbose(int a_verbose)
Set verbosity.
void define(const MultiBlockCoordSys *a_mblock, const DisjointBoxLayout &a_grids, const int &a_ghost=0)
Define function that matches constructor.
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
LoHiSide
Definition: LoHiSide.H:27
void incrementFlux(const FArrayBox &a_flux, const DataIndex &a_dataIndex, int a_dir, Side::LoHiSide a_side)
increment fluxes on block-boundary faces.
virtual interface class encapsulating multi-block mapping API
Definition: MultiBlockCoordSys.H:34
Definition: DataIndex.H:114
int m_verbosity
Definition: BlockRegister.H:202
void getFlux(FArrayBox &a_flux, const DataIndex &a_dataIndex, int a_dir, Side::LoHiSide a_side, Side::LoHiSide a_sideData) const
Return fluxes on a block-boundary interface of a box, if hasInterface(a_dataIndex, a_dir, a_side) is true.
void setToZero(const int a_n_comp=-1)
bool isClosed() const
Returns false if register is open, true otherwise.
Definition: BlockRegister.H:197
bool isNotClosed() const
Returns true if register is open, false otherwise.
Definition: BlockRegister.H:191
Definition: FArrayBox.H:45
BlockRegister()
Empty constructor.
Definition: BlockRegister.H:39
void storeAux(const FArrayBox &a_data, const DataIndex &a_dataIndex, int a_dir, Side::LoHiSide a_side)
Store auxiliary data on block-boundary faces including layers of ghost faces.
void getAux(FArrayBox &a_data, const DataIndex &a_dataIndex, int a_dir, Side::LoHiSide a_side, Side::LoHiSide a_sideData) const
Return auxiliary data on a block-boundary interface of a box, if hasInterface(a_dataIndex, a_dir, a_side) is true.
virtual ~BlockRegister()
virtual destructor