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

EBISLayout Class Reference

#include <EBISLayout.H>

Collaboration diagram for EBISLayout:

Collaboration graph
[legend]
List of all members.

Public Methods

const EBISBoxoperator[] (const DataIndex &a_index) const
void setMaxRefinementRatio (const int &a_maxRefine)
void setMaxCoarseningRatio (const int &a_maxCoarsen)
 EBISLayout ()
const BoxLayoutgetGrownLayout () const
const DisjointBoxLayoutgetDisjointLayout () const
 ~EBISLayout ()
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
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)

Protected Attributes

RefCountedPtr< EBISLayoutImplemm_implem

Detailed Description

EBISLayout represents the geometric information on a union of rectangles. This is another ref-counted pointer object so copying it is cheap but has the ref-counted pointer semantic.


Constructor & Destructor Documentation

EBISLayout::EBISLayout  
 

EBISLayout::~EBISLayout  
 


Member Function Documentation

VolIndex EBISLayout::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 EBISLayout::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& EBISLayout::getDisjointLayout   const
 

Returns the disjoint layout that was sent in.

const BoxLayout& EBISLayout::getGrownLayout   const
 

Returns the ghosted layout associated with the ebisl.

int EBISLayout::getMaxCoarseningRatio   const
 

int EBISLayout::getMaxRefinementRatio   const
 

const EBISBox& EBISLayout::operator[] const DataIndex   a_index const
 

Access the {\tt EBISBox} associated with the input DataIndex. Only constant access is permitted.

Vector<VolIndex> EBISLayout::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 EBISLayout::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 EBISLayout::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

RefCountedPtr<EBISLayoutImplem> EBISLayout::m_implem [protected]
 


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