Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

EBISLayoutImplem Class Reference

#include <EBISLayout.H>

Collaboration diagram for EBISLayoutImplem:

Collaboration graph
[legend]
List of all members.

Public Methods

const EBISBoxoperator[] (const DataIndex &) const
 EBISLayoutImplem ()
 ~EBISLayoutImplem ()
const BoxLayoutgetGrownLayout () const
const DisjointBoxLayoutgetDisjointLayout () const
VolIndex coarsen (const VolIndex &a_vof, const int &a_ratio, const DataIndex &a_datInd) const
Vector< VolIndexrefine (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< EBISLayoutm_fineLevels
Vector< EBISLayoutm_coarLevels
int m_nghost
int m_maxCoarseningRatio
int m_maxRefinementRatio
Box m_domain
LayoutData< EBISBoxm_ebisBoxes

Detailed Description

EBISLayoutImplem represents the geometric information on a union of rectangles. This is not really part of the public interface. Users should use EBISLayout.


Constructor & Destructor Documentation

EBISLayoutImplem::EBISLayoutImplem  
 

EBISLayoutImplem::~EBISLayoutImplem  
 

EBISLayoutImplem::EBISLayoutImplem const EBISLayoutImplem &    ebiin [inline, private]
 


Member Function Documentation

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.

void EBISLayoutImplem::define const Box   a_domain,
const DisjointBoxLayout   a_grids,
const int &    a_nghost,
const LevelData< EBGraph > &    a_graph,
const LevelData< EBData > &    a_data
 

const DisjointBoxLayout& EBISLayoutImplem::getDisjointLayout   const [inline]
 

const BoxLayout& EBISLayoutImplem::getGrownLayout   const [inline]
 

int EBISLayoutImplem::getMaxCoarseningRatio   const
 

int EBISLayoutImplem::getMaxRefinementRatio   const
 

void EBISLayoutImplem::operator= const EBISLayoutImplem &    ebiin [inline, private]
 

const EBISBox& EBISLayoutImplem::operator[] const DataIndex   const
 

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.

void EBISLayoutImplem::setMaxCoarseningRatio const int &    a_maxCoarsen
 

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).

void EBISLayoutImplem::setMaxRefinementRatio const int &    a_maxRefine
 

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).


Member Data Documentation

BoxLayout EBISLayoutImplem::m_blGhostDom [private]
 

Vector<EBISLayout> EBISLayoutImplem::m_coarLevels [private]
 

DisjointBoxLayout EBISLayoutImplem::m_dblInputDom [private]
 

Box EBISLayoutImplem::m_domain [private]
 

LayoutData<EBISBox> EBISLayoutImplem::m_ebisBoxes [private]
 

Vector<EBISLayout> EBISLayoutImplem::m_fineLevels [private]
 

int EBISLayoutImplem::m_maxCoarseningRatio [private]
 

int EBISLayoutImplem::m_maxRefinementRatio [private]
 

int EBISLayoutImplem::m_nghost [private]
 


The documentation for this class was generated from the following file:
Generated on Wed Apr 16 14:35:14 2003 for EBChombo by doxygen1.2.16