Chombo + EB
3.0
|
#include <EBISLayout.H>
Public Member Functions | |
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 |
FaceIndex | coarsen (const FaceIndex &a_face, 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 |
Vector< FaceIndex > | refine (const FaceIndex &a_face, const int &a_ratio, const DataIndex &a_datInd) const |
void | setMaxRefinementRatio (const int &a_maxRefine, const EBIndexSpace *const a_ebisPtr) |
void | setMaxCoarseningRatio (const int &a_maxCoarsen, const EBIndexSpace *const a_ebisPtr) |
int | getMaxCoarseningRatio () const |
int | getMaxRefinementRatio () const |
void | define (const ProblemDomain &a_domain, const DisjointBoxLayout &a_grids, const int &a_nghost, const LevelData< EBGraph > &a_graph, const LevelData< EBData > &a_data) |
bool | isDefined () const |
const EBIndexSpace * | getEBIS () const |
void | setEBIS (const EBIndexSpace *const a_ebisPtr) |
Static Public Member Functions | |
static void | setVerbose (bool a_verbose) |
Private Member Functions | |
void | operator= (const EBISLayoutImplem &ebiin) |
EBISLayoutImplem (const EBISLayoutImplem &ebiin) | |
Private Attributes | |
const EBIndexSpace * | m_ebisPtr |
BoxLayout | m_blGhostDom |
DisjointBoxLayout | m_dblInputDom |
Vector< EBISLayout > | m_fineLevels |
Vector< EBISLayout > | m_coarLevels |
int | m_nghost |
int | m_maxCoarseningRatio |
int | m_maxRefinementRatio |
ProblemDomain | m_domain |
LayoutData< EBISBox > | m_ebisBoxes |
bool | m_defined |
Static Private Attributes | |
static bool | s_verbose |
EBISLayoutImplem represents the geometric information on a union of rectangles. This is not really part of the public interface. Users should use EBISLayout.
EBISLayoutImplem::EBISLayoutImplem | ( | ) |
EBISLayoutImplem::~EBISLayoutImplem | ( | ) |
|
inlineprivate |
|
inline |
|
inline |
VolIndex EBISLayoutImplem::coarsen | ( | const VolIndex & | a_vof, |
const int & | a_ratio, | ||
const DataIndex & | a_datInd | ||
) | const |
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.
FaceIndex EBISLayoutImplem::coarsen | ( | const FaceIndex & | a_face, |
const int & | a_ratio, | ||
const DataIndex & | a_datInd | ||
) | const |
Returns the index of the face corresponding to coarsening the input face by the input ratio. It is an error if the ratio is greater than the maximum coarsening ratio or if the face does not exist at the input data index.
Vector<VolIndex> EBISLayoutImplem::refine | ( | const VolIndex & | a_vof, |
const int & | a_ratio, | ||
const DataIndex & | a_datInd | ||
) | const |
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.
Vector<FaceIndex> EBISLayoutImplem::refine | ( | const FaceIndex & | a_face, |
const int & | a_ratio, | ||
const DataIndex & | a_datInd | ||
) | const |
Returns the indices of the Faces corresponding to refining the input Face by the input ratio. It is an error if the ratio is greater than the maximum refinement ratio or if the face does not exist at the input data index.
void EBISLayoutImplem::setMaxRefinementRatio | ( | const int & | a_maxRefine, |
const EBIndexSpace *const | a_ebisPtr | ||
) |
Sets the maximum level of refinement that this { EBISLayout} will have to perform. Creates and holds new { EBISLayout}s at intermediate levels of refinement. Default is one (no refinement done).
void EBISLayoutImplem::setMaxCoarseningRatio | ( | const int & | a_maxCoarsen, |
const EBIndexSpace *const | a_ebisPtr | ||
) |
Sets the maximum level of coarsening that this { EBISLayout} will have to perform. Creates and holds new { EBISLayout}s at intermediate levels of refinement. Default is one (no coarsening done).
int EBISLayoutImplem::getMaxCoarseningRatio | ( | ) | const |
int EBISLayoutImplem::getMaxRefinementRatio | ( | ) | const |
void EBISLayoutImplem::define | ( | const ProblemDomain & | a_domain, |
const DisjointBoxLayout & | a_grids, | ||
const int & | a_nghost, | ||
const LevelData< EBGraph > & | a_graph, | ||
const LevelData< EBData > & | a_data | ||
) |
|
static |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |