Class which replaces data at coarse level of refinement with average at fine level of refinement.
More...
|
| EBCoarAve () noexcept |
| Default constructor. Must call define afterwards.
|
|
| EBCoarAve (const EBCoarAve &a_other)=delete |
| Copy constructor not allowed.
|
|
| EBCoarAve (const DisjointBoxLayout &a_dblFine, const DisjointBoxLayout &a_dblCoar, const EBISLayout &a_ebislFine, const EBISLayout &a_ebislCoar, const ProblemDomain &a_domainCoar, const int &a_refRat, const EBIndexSpace *a_ebisPtr) noexcept |
| Defining constructor. More...
|
|
| EBCoarAve (const EBLevelGrid &a_eblgFine, const EBLevelGrid &a_eblgCoar, const EBLevelGrid &a_eblgCoFi, const int &a_refRat) noexcept |
| Defining constructor. Calls the define function. More...
|
|
virtual | ~EBCoarAve () noexcept |
| Destructor (does nothing)
|
|
virtual void | define (const EBLevelGrid &a_eblgFine, const EBLevelGrid &a_eblgCoar, const EBLevelGrid &a_eblgCoFi, const int &a_refRat) noexcept |
| Define function – puts operator in usable state. More...
|
|
virtual void | operator= (const EBCoarAve &fabin)=delete |
| Assignement not allowed.
|
|
virtual void | averageData (LevelData< EBCellFAB > &a_coarData, const LevelData< EBCellFAB > &a_fineData, const Interval &a_variables, const Average &a_average) const noexcept |
| Do an average of cell data. More...
|
|
virtual void | averageData (LevelData< EBFluxFAB > &a_coarData, const LevelData< EBFluxFAB > &a_fineData, const Interval &a_variables, const Average &a_average) const noexcept |
| Do an average of face data. More...
|
|
virtual void | averageData (LevelData< BaseIVFAB< Real >> &a_coarData, const LevelData< BaseIVFAB< Real >> &a_fineData, const Interval &a_variables, const Average &a_average) const noexcept |
| Do an average of EB data. More...
|
|
|
virtual void | defineCellStencils () noexcept |
| Define stencils for the various coarsening functions of cell data.
|
|
virtual void | defineFaceStencils () noexcept |
| Define stencils for the various coarsening functions of face data.
|
|
virtual void | defineEBStencils () noexcept |
| Define stencils for the various coarsening functions of EB data.
|
|
virtual void | defineBuffers () noexcept |
| Define buffer storage.
|
|
virtual void | arithmeticAverage (EBCellFAB &a_coarData, const EBCellFAB &a_fineData, const DataIndex &a_datInd, const int &a_coarVar, const int &a_fineVar) const noexcept |
| Do an arithmetic average of cell-centered data when coarsening. More...
|
|
virtual void | harmonicAverage (EBCellFAB &a_coarData, const EBCellFAB &a_fineData, const DataIndex &a_datInd, const int &a_coarVar, const int &a_fineVar) const noexcept |
| Do a harmonic average of cell-centered data when coarsening. More...
|
|
virtual void | conservativeAverage (EBCellFAB &a_coarData, const EBCellFAB &a_fineData, const DataIndex &a_datInd, const int &a_coarVar, const int &a_fineVar) const noexcept |
| Do a conservative average of cell-centered data when coarsening. More...
|
|
virtual void | arithmeticAverage (EBFaceFAB &a_coarData, const EBFaceFAB &a_fineData, const DataIndex &a_datInd, const int &a_fineVar, const int &a_coarVar, const int &a_dir) const noexcept |
| Do an arithmetic average of face-centered data when coarsening. More...
|
|
virtual void | harmonicAverage (EBFaceFAB &a_coarData, const EBFaceFAB &a_fineData, const DataIndex &a_datInd, const int &a_coarVar, const int &a_fineVar, const int &a_dir) const noexcept |
| Do a harmonic average of face-centered data when coarsening. More...
|
|
virtual void | conservativeAverage (EBFaceFAB &a_coarData, const EBFaceFAB &a_fineData, const DataIndex &a_datInd, const int &a_coarVar, const int &a_fineVar, const int &a_dir) const noexcept |
| Do a conservative average of face-centered data when coarsening. More...
|
|
virtual void | arithmeticAverage (BaseIVFAB< Real > &a_coarData, const BaseIVFAB< Real > &a_fineData, const DataIndex &a_datInd, const int &a_coarVar, const int &a_fineVar) const noexcept |
| Arithmetic average data defined on irregular cells. More...
|
|
virtual void | harmonicAverage (BaseIVFAB< Real > &a_coarData, const BaseIVFAB< Real > &a_fineData, const DataIndex &a_datInd, const int &a_coarVar, const int &a_fineVar) const noexcept |
| Harmonic average data defined on irregular cells. More...
|
|
virtual void | conservativeAverage (BaseIVFAB< Real > &a_coarData, const BaseIVFAB< Real > &a_fineData, const DataIndex &a_datInd, const int &a_coarVar, const int &a_fineVar) const noexcept |
| Conservatively average data defined on irregular cells. More...
|
|
|
bool | m_isDefined |
| Defined or not.
|
|
int | m_refRat |
| Refinement ratio.
|
|
EBLevelGrid | m_eblgFine |
| Fine grids.
|
|
EBLevelGrid | m_eblgCoar |
| Coarse grids.
|
|
EBLevelGrid | m_eblgCoFi |
| Coarsened fine grids.
|
|
std::map< IntVect, Copier > | m_cellCopiers |
| Pre-built copier for copying from m_eblgCoFi to m_eblgCoar.
|
|
std::map< IntVect, Copier > | m_faceCopiers |
| Pre-built copier for copying from m_eblgCoFi to m_eblgCoar.
|
|
std::map< IntVect, Copier > | m_ebCopiers |
| Pre-built copier for copying from m_eblgCoFi to m_eblgCoar.
|
|
LayoutData< IntVectSet > | m_irregSetsCoFi |
| Irregular cells on the coarsened fine layout.
|
|
LayoutData< VoFIterator > | m_irregCellsCoFi |
| Irregular cells on the coarsened fine layout.
|
|
LayoutData< std::map< int, FaceIterator > > | m_irregFacesCoFi |
| Irregular faces on the coarsened fine layout.
|
|
LayoutData< BaseIVFAB< VoFStencil > > | m_cellArithmeticStencils |
| Stencils for arithmetic coarsening of volume data.
|
|
LayoutData< BaseIVFAB< VoFStencil > > | m_cellHarmonicStencils |
| Stencils for harmonic coarsening of volume data. More...
|
|
LayoutData< BaseIVFAB< VoFStencil > > | m_cellConservativeStencils |
| Stencils for conservative coarsening of volume data.
|
|
LayoutData< std::map< int, BaseIFFAB< FaceStencil > > > | m_faceArithmeticStencils |
| Stencils for arithmetic coarsening of face data.
|
|
LayoutData< std::map< int, BaseIFFAB< FaceStencil > > > | m_faceHarmonicStencils |
| Stencils for harmonic coarsening of face data.
|
|
LayoutData< std::map< int, BaseIFFAB< FaceStencil > > > | m_faceConservativeStencils |
| Stencils for conservative coarsening of face data.
|
|
LayoutData< BaseIVFAB< VoFStencil > > | m_ebArithmeticStencils |
| Stencils for arithmetic coarsening of EB data.
|
|
LayoutData< BaseIVFAB< VoFStencil > > | m_ebHarmonicStencils |
| Stencils for harmonic coarsening of EB data.
|
|
LayoutData< BaseIVFAB< VoFStencil > > | m_ebConservativeStencils |
| Stencils for conservative coarsening of EB data.
|
|
Class which replaces data at coarse level of refinement with average at fine level of refinement.
When defining this class, use the EBLevelGrid-based constructors if the coarsened grids are available.