13#ifndef CD_EBMGRESTRICT_H
14#define CD_EBMGRESTRICT_H
17#include <EBLevelGrid.H>
18#include <ProblemDomain.H>
23#include <CD_NamespaceHeader.H>
46 const EBLevelGrid& a_eblgCoFi,
47 const EBLevelGrid& a_eblgCoar,
48 const int& a_refRat)
noexcept;
63 define(
const EBLevelGrid& a_eblgFine,
64 const EBLevelGrid& a_eblgCoFi,
65 const EBLevelGrid& a_eblgCoar,
66 const int& a_refRat)
noexcept;
78 const LevelData<EBCellFAB>& a_fineData,
79 const Interval a_variables)
const noexcept;
129#include <CD_NamespaceFooter.H>
EBLevelGrid m_eblgFine
Fine grid.
Definition CD_EBMGRestrict.H:100
Copier m_copier
Copier for making copying from the coarsened fine grids to the coarse grid go faster.
Definition CD_EBMGRestrict.H:115
IntVect m_ghostPhi
Number of ghost cells in data holders.
Definition CD_EBMGRestrict.H:95
bool m_isDefined
Defined or not.
Definition CD_EBMGRestrict.H:85
EBMGRestrict() noexcept
Default constructor. User must subsequently call the define function.
Definition CD_EBMGRestrict.cpp:23
int m_refRat
Refinement ratio.
Definition CD_EBMGRestrict.H:90
virtual void define(const EBLevelGrid &a_eblgFine, const EBLevelGrid &a_eblgCoFi, const EBLevelGrid &a_eblgCoar, const int &a_refRat) noexcept
Define function.
Definition CD_EBMGRestrict.cpp:45
LayoutData< VoFIterator > m_vofitCoar
Iterator for iterating over cut-cells on the coarse level.
Definition CD_EBMGRestrict.H:120
EBLevelGrid m_eblgCoar
Coarse grid.
Definition CD_EBMGRestrict.H:105
EBLevelGrid m_eblgCoFi
Coarsened fine grids.
Definition CD_EBMGRestrict.H:110
virtual ~EBMGRestrict() noexcept
Destructor.
Definition CD_EBMGRestrict.cpp:39
virtual void restrictResidual(LevelData< EBCellFAB > &a_coarData, const LevelData< EBCellFAB > &a_fineData, const Interval a_variables) const noexcept
Restrict residual onto the coarse grid.
Definition CD_EBMGRestrict.cpp:120
LayoutData< BaseIVFAB< VoFStencil > > m_restrictStencils
Restriction stencils near the EB.
Definition CD_EBMGRestrict.H:126