#include <EBIndexSpace.H>
Collaboration diagram for EBIndexSpace:
Public Methods | |
void | define (const Box &a_domain, const RealVect &a_origin, const Real &a_dx, const GeometryService &a_geoserver, int a_nCellMax=-1, int maxCoarsenings=-1) |
void | define (HDF5Handle &handle, int maxCoarsenings=-1) |
~EBIndexSpace () | |
int | numLevels () const |
int | getLevel (const Box &a_domain) const |
void | fillEBISLayout (EBISLayout &a_ebis, const DisjointBoxLayout &a_grids, const Box &a_domain, const int &nghost) const |
bool | isDefined () const |
void | clear () |
int | getNCellMax () const |
void | write (HDF5Handle &handle) |
DisjointBoxLayout | getIrregGrids (int level) const |
Private Methods | |
EBIndexSpace () | |
void | operator= (const EBIndexSpace &ebiin) |
EBIndexSpace (const EBIndexSpace &ebiin) | |
Private Attributes | |
int | m_nCellMax |
bool | m_isDefined |
Vector< EBISLevel * > | m_ebisLevel |
Vector< Box > | m_domainLevel |
int | m_nlevels |
Static Private Attributes | |
Real | s_tolerance |
Friends | |
class | Chombo_EBIS |
|
|
|
|
|
|
|
|
|
|
|
If a_ncellMax is set, that is the max width of an internal grid. Otherwise use defaults of (16 in 3D, 64 in 2d) |
|
|
|
|
|
return level index of domain. return -1 if a_domain does not correspond to any refinement of EBIS. |
|
|
|
Return true if the define function has been called. |
|
|
|
|
|
|
|
This makes Chombo_EBIS be the only function that can call the private constructor. |
|
|
|
|
|
|
|
|
|
|
|
|