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

EBIndexSpace Class Reference

#include <EBIndexSpace.H>

Collaboration diagram for EBIndexSpace:

Collaboration graph
[legend]
List of all members.

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< Boxm_domainLevel
int m_nlevels

Static Private Attributes

Real s_tolerance

Friends

class Chombo_EBIS

Detailed Description

EBIndexSpace represents the geometric information of the domain. It should be generated through the Chombo_EBIS class. This follows the singleton pattern.


Constructor & Destructor Documentation

EBIndexSpace::~EBIndexSpace  
 

EBIndexSpace::EBIndexSpace   [private]
 

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


Member Function Documentation

void EBIndexSpace::clear  
 

void EBIndexSpace::define HDF5Handle   handle,
int    maxCoarsenings = -1
 

void EBIndexSpace::define const Box   a_domain,
const RealVect   a_origin,
const Real   a_dx,
const GeometryService   a_geoserver,
int    a_nCellMax = -1,
int    maxCoarsenings = -1
 

If a_ncellMax is set, that is the max width of an internal grid. Otherwise use defaults of (16 in 3D, 64 in 2d)

void EBIndexSpace::fillEBISLayout EBISLayout   a_ebis,
const DisjointBoxLayout   a_grids,
const Box   a_domain,
const int &    nghost
const
 

DisjointBoxLayout EBIndexSpace::getIrregGrids int    level const [inline]
 

int EBIndexSpace::getLevel const Box   a_domain const
 

return level index of domain. return -1 if a_domain does not correspond to any refinement of EBIS.

int EBIndexSpace::getNCellMax   const
 

bool EBIndexSpace::isDefined   const
 

Return true if the define function has been called.

int EBIndexSpace::numLevels   const
 

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

void EBIndexSpace::write HDF5Handle   handle
 


Friends And Related Function Documentation

friend class Chombo_EBIS [friend]
 

This makes Chombo_EBIS be the only function that can call the private constructor.


Member Data Documentation

Vector<Box> EBIndexSpace::m_domainLevel [private]
 

Vector<EBISLevel*> EBIndexSpace::m_ebisLevel [private]
 

bool EBIndexSpace::m_isDefined [private]
 

int EBIndexSpace::m_nCellMax [private]
 

int EBIndexSpace::m_nlevels [private]
 

Real EBIndexSpace::s_tolerance [static, private]
 


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