GridBox Class Reference

A minimal class for maintining BBox information of the composite DAGH structure. More...

#include <GridBox.h>

List of all members.

Public Member Functions

 GridBox (void)
 GridBox (const int own, const int idx, const BBox &bb)
 GridBox (GridBox const &other)
 ~GridBox (void)
GridBox const & operator= (GridBox const &other)
int operator== (GridBox const &other) const
int operator!= (GridBox const &other) const
void SetGridBox (const int own, const int idx, const BBox &bb)
int gbOwner (void) const
int gbIndex (void) const
int gbRank (void) const
void gbSetIndex (const int idx)
void gbSetOwner (const int p)
void gbSetBBox (const BBox &bb)
const BBoxgbBBox (void) const
BBox gbBBox (const int olap, const int extgh=0) const
BBox gbBBox (const short *olap, const int extgh=0) const

Friends

class GridBoxList
std::ostream & operator<< (std::ostream &, const GridBox &)
std::ofstream & operator<< (std::ofstream &, const GridBox &)
std::ifstream & operator>> (std::ifstream &, GridBox &)
std::stringstream & operator<< (std::stringstream &, const GridBox &)
std::stringstream & operator>> (std::stringstream &, GridBox &)

Detailed Description

A minimal class for maintining BBox information of the composite DAGH structure.

For each level a seperate GridBoxList is stored. Therefore GridBox does not need any level-information.

Author:
Manish Parashar, Ralf Deiterding (simplification)

Constructor & Destructor Documentation

GridBox::GridBox ( void   )  [inline]
GridBox::GridBox ( const int  own,
const int  idx,
const BBox bb 
) [inline]
GridBox::GridBox ( GridBox const &  other  )  [inline]
GridBox::~GridBox ( void   )  [inline]

Member Function Documentation

BBox GridBox::gbBBox ( const short *  olap,
const int  extgh = 0 
) const
BBox GridBox::gbBBox ( const int  olap,
const int  extgh = 0 
) const
int GridBox::gbIndex ( void   )  const [inline]

References GridBoxList::index().

Referenced by GridBoxList::index().

int GridBox::gbOwner ( void   )  const [inline]
int GridBox::gbRank ( void   )  const [inline]

References bbox(), and BBox::rank.

void GridBox::gbSetBBox ( const BBox bb  )  [inline]

References bbox().

void GridBox::gbSetIndex ( const int  idx  )  [inline]

References GridBoxList::index().

void GridBox::gbSetOwner ( const int  p  )  [inline]
int GridBox::operator!= ( GridBox const &  other  )  const [inline]
GridBox const& GridBox::operator= ( GridBox const &  other  )  [inline]

References bbox(), and GridBoxList::index().

int GridBox::operator== ( GridBox const &  other  )  const [inline]

References bbox(), and GridBoxList::index().

void GridBox::SetGridBox ( const int  own,
const int  idx,
const BBox bb 
) [inline]

References bbox(), and GridBoxList::index().


Friends And Related Function Documentation

friend class GridBoxList [friend]
std::stringstream& operator<< ( std::stringstream &  ofs,
const GridBox gb 
) [friend]
std::ofstream& operator<< ( std::ofstream &  ofs,
const GridBox gb 
) [friend]
std::ostream& operator<< ( std::ostream &  os,
const GridBox gb 
) [friend]
std::stringstream& operator>> ( std::stringstream &  ifs,
GridBox gb 
) [friend]
std::ifstream& operator>> ( std::ifstream &  ifs,
GridBox gb 
) [friend]

The documentation for this class was generated from the following files:
Generated on Thu Jun 30 02:19:00 2016 for AMROC's Hierachical Data Structures by  doxygen 1.6.3