#include <EBISLayout.H>
Collaboration diagram for EBISLayoutImplem:
Public Methods | |
const EBISBox & | operator[] (const DataIndex &) const |
EBISLayoutImplem () | |
~EBISLayoutImplem () | |
const BoxLayout & | getGrownLayout () const |
const DisjointBoxLayout & | getDisjointLayout () const |
VolIndex | coarsen (const VolIndex &a_vof, const int &a_ratio, const DataIndex &a_datInd) const |
Vector< VolIndex > | refine (const VolIndex &a_vof, const int &a_ratio, const DataIndex &a_datInd) const |
void | setMaxRefinementRatio (const int &a_maxRefine) |
void | setMaxCoarseningRatio (const int &a_maxCoarsen) |
int | getMaxCoarseningRatio () const |
int | getMaxRefinementRatio () const |
void | define (const Box &a_domain, const DisjointBoxLayout &a_grids, const int &a_nghost, const LevelData< EBGraph > &a_graph, const LevelData< EBData > &a_data) |
Private Methods | |
void | operator= (const EBISLayoutImplem &ebiin) |
EBISLayoutImplem (const EBISLayoutImplem &ebiin) | |
Private Attributes | |
BoxLayout | m_blGhostDom |
DisjointBoxLayout | m_dblInputDom |
Vector< EBISLayout > | m_fineLevels |
Vector< EBISLayout > | m_coarLevels |
int | m_nghost |
int | m_maxCoarseningRatio |
int | m_maxRefinementRatio |
Box | m_domain |
LayoutData< EBISBox > | m_ebisBoxes |
|
|
|
|
|
|
|
Returns the index of the VoF corresponding to coarsening the input VoF by the input ratio. It is an error if the ratio is greater than the maximum coarsening ratio or if the vof does not exist at the input data index. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns the indices of the VoFs corresponding to refining the input VoF by the input ratio. It is an error if the ratio is greater than the maximum refinement ratio or if the vof does not exist at the input data index. |
|
Sets the maximum level of coarsening that this {\tt EBISLayout} will have to perform. Creates and holds new {\tt EBISLayout}s at intermediate levels of refinement. Default is one (no coarsening done). |
|
Sets the maximum level of refinement that this {\tt EBISLayout} will have to perform. Creates and holds new {\tt EBISLayout}s at intermediate levels of refinement. Default is one (no refinement done). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|