13 #ifndef _EBINDEXSPACE_H_ 14 #define _EBINDEXSPACE_H_ 30 #include "NamespaceHeader.H" 70 int a_maxCoarsenings = -1);
80 int a_maxCoarsenings = -1);
86 int a_maxCoarsenings = -1);
94 int a_maxCoarsenings = -1);
101 int a_maxCoarsenings,
102 bool a_fixRegularNextToMultiValued =
true);
106 bool a_fixRegularNextToMultiValued =
true);
168 const int& a_nghost)
const;
287 const bool & a_onlyBiggest);
289 const bool & a_onlyBiggest);
297 const unsigned int& a_curNum);
305 const unsigned int& a_curNum);
343 MayDay::Error(
"no copy construction of EBIndexSpace allowed");
347 #include "NamespaceFooter.H" int m_nlevels
Definition: EBIndexSpace.H:330
IntVectSet irregCells(int depth=0) const
Definition: EBIndexSpace.H:263
void resetAllConnectedVoFs(EBCellFAB &a_curEBCellFAB, const EBGraph &a_curEBGraph, const EBISBox &a_curEBISBox, const VolIndex &a_curVoF, const VolIndex &a_lastVoF)
DisjointBoxLayout getIrregGrids(int level) const
Definition: EBIndexSpace.H:217
Vector< RefCountedPtr< EBIndexSpace > > findConnectedComponentsNew(int &a_numComponents, const bool &a_onlyBiggest)
static bool s_verbose
Definition: EBIndexSpace.H:333
Vector< EBISLevel * > m_ebisLevel
Definition: EBIndexSpace.H:327
A reference-counting handle class.
Definition: RefCountedPtr.H:173
Vector< RefCountedPtr< EBIndexSpace > > connectedComponents()
An irregular domain on an integer lattice.
Definition: IntVectSet.H:44
EBISLevel * buildNextLevel(const GeometryService &a_geoserver, int a_nCellMax, bool a_fixRegularNextToMultiValued=true)
DisjointBoxLayout getFlowGrids(int level) const
Definition: EBIndexSpace.H:227
void resetLevels(int nLevel)
DisjointBoxLayout getCoveredGrids(int level) const
Definition: EBIndexSpace.H:243
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
DisjointBoxLayout levelGrids(int level) const
Definition: EBIndexSpace.H:253
Definition: EBIndexSpace.H:50
static Real s_tolerance
Definition: EBIndexSpace.H:332
one dimensional dynamic array
Definition: Vector.H:53
void writeAllLevels(HDF5Handle &a_handle) const
EBISLevel * buildFirstLevel(const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx, const GeometryService &a_geoserver, int a_nCellMax, int a_maxCoarsenings, bool a_fixRegularNextToMultiValued=true)
int m_nCellMax
Definition: EBIndexSpace.H:322
Definition: EBISLevel.H:84
bool m_isDefined
Definition: EBIndexSpace.H:323
bool setDistributedData()
Definition: EBIndexSpace.H:118
singleton version of EBIndexSpace.
Definition: EBISLevel.H:42
RefCountedPtr< EBIndexSpace > biggestConnectedComponent(int &a_numComponents)
RealVect getOrigin() const
Definition: EBIndexSpace.H:150
DisjointBoxLayout getCoveredGrids(const ProblemDomain &a_domain) const
Definition: EBIndexSpace.H:248
Real dx(int level) const
Definition: EBIndexSpace.H:258
Vector< ProblemDomain > m_domainLevel
Definition: EBIndexSpace.H:328
Geometric description within a box.
Definition: EBGraph.H:427
long long numVoFs(const ProblemDomain &a_domain) const
int getLevel(const ProblemDomain &a_domain) const
void readInAllLevels(HDF5Handle &a_handle, ProblemDomain a_finestLevel)
void writeInfo(HDF5Handle &handle) const
Vector< RefCountedPtr< EBIndexSpace > > connectedComponentsNew()
void operator=(const EBIndexSpace &ebiin)
Definition: EBIndexSpace.H:336
static bool s_useMemoryLoadBalance
Definition: EBIndexSpace.H:283
Definition: EBCellFAB.H:29
double Real
Definition: REAL.H:33
Definition: GeometryService.H:37
DisjointBoxLayout getFlowGrids(const ProblemDomain &a_domain) const
Definition: EBIndexSpace.H:238
IndexTM< T, N > max(const IndexTM< T, N > &a_p1, const IndexTM< T, N > &a_p2)
Definition: IndexTMI.H:401
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
bool setAllConnectedVoFs(Real &a_totalVolFrac, EBCellFAB &a_curEBCellFAB, const EBGraph &a_curEBGraph, const EBISBox &a_curEBISBox, const VolIndex &a_curVoF, const VolIndex &a_lastVoF, const unsigned int &a_curNum)
EBIndexSpace(const EBIndexSpace &ebiin)
Definition: EBIndexSpace.H:341
void define(const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx, const GeometryService &a_geoserver, int a_nCellMax=-1, int a_maxCoarsenings=-1)
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.
bool m_distributedData
Definition: EBIndexSpace.H:325
RefCountedPtr< EBIndexSpace > biggestConnectedComponentNew(int &a_numComponents)
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
DisjointBoxLayout getIrregGrids(const ProblemDomain &a_domain) const
Definition: EBIndexSpace.H:222
Real totalVolFrac(const ProblemDomain &a_domain) const
void setCellMax(int max)
Definition: EBIndexSpace.H:268
void write(HDF5Handle &a_handle, ProblemDomain a_outputLevel=ProblemDomain()) const
Handle to a particular group in an HDF file.
Definition: CH_HDF5.H:294
Volume of Fluid Index.
Definition: VolIndex.H:31
const ProblemDomain & getBox(int level) const
Definition: EBIndexSpace.H:159
void fillEBISLayout(EBISLayout &a_ebis, const DisjointBoxLayout &a_grids, const ProblemDomain &a_domain, const int &a_nghost) const
void resetAllConnectedVoFsNew(EBCellFAB &a_curEBCellFAB, const Box &a_curBox, const EBGraph &a_curEBGraph, const EBISBox &a_curEBISBox, const VolIndex &a_curVoF, const VolIndex &a_lastVoF)
Definition: EBISLayout.H:39
Vector< RefCountedPtr< EBIndexSpace > > findConnectedComponents(int &a_numComponents, const bool &a_onlyBiggest)
static bool s_MFSingleBox
Definition: EBIndexSpace.H:281
bool setAllConnectedVoFsNew(Real &a_totalVolFrac, EBCellFAB &a_curEBCellFAB, const Box &a_curBox, const EBGraph &a_curEBGraph, const EBISBox &a_curEBISBox, const VolIndex &a_curVoF, const VolIndex &a_lastVoF, const unsigned int &a_curNum)
DisjointBoxLayout getGrids(const ProblemDomain &a_domain) const
Definition: EBIndexSpace.H:233