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 BBox & | gbBBox (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 |
const BBox& GridBox::gbBBox |
( |
void |
|
) |
const [inline] |
References bbox().
Referenced by GridBoxList::bboxlist(), GridHierarchy::DAGH_PeriodicBoundaries(), GridHierarchy::DAGH_RecomposeHierarchy(), GridHierarchy::DAGH_Refine(), GridBoxList::difference(), GridBoxList::find(), GridHierarchy::glb_bboxlist(), GridBoxList::index(), GridBoxList::intersect(), GridBoxList::intersection(), operator<<(), and GridFunctionVoid::usedbbox().
int GridBox::gbIndex |
( |
void |
|
) |
const [inline] |
int GridBox::gbOwner |
( |
void |
|
) |
const [inline] |
int GridBox::gbRank |
( |
void |
|
) |
const [inline] |
void GridBox::gbSetBBox |
( |
const BBox & |
bb |
) |
[inline] |
void GridBox::gbSetIndex |
( |
const int |
idx |
) |
[inline] |
void GridBox::gbSetOwner |
( |
const int |
p |
) |
[inline] |
int GridBox::operator!= |
( |
GridBox const & |
other |
) |
const [inline] |
int GridBox::operator== |
( |
GridBox const & |
other |
) |
const [inline] |
void GridBox::SetGridBox |
( |
const int |
own, |
|
|
const int |
idx, |
|
|
const BBox & |
bb | |
|
) |
| | [inline] |
Friends And Related Function Documentation
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: