AMROC Main     Blockstructured Adaptive Mesh Refinement in object-oriented C++


Main Page   Class Hierarchy   Compound List   File List  

BBox Class Reference

Implementation of a rectangular region in the computational domain in global index coordinates. More...

#include <BBox.h>

Collaboration diagram for BBox:

Collaboration graph
[legend]
List of all members.

Public Methods

 BBox (void)
 BBox (const int r, const int s)
 BBox (const int r, Coords const &s)
 BBox (Coords const &l, Coords const &u, const int s)
 BBox (const int r, const int *l, const int *u, const int s)
 BBox (Coords const &l, Coords const &u, Coords const &s)
 BBox (const int r, const int *l, const int *u, const int *s)
 BBox (BBox const &other)
 BBox (const int r, const int i, const int ii, const int s)
 BBox (const int r, const int i, const int j, const int ii, const int jj, const int s)
 BBox (const int r, const int i, const int j, const int k, const int ii, const int jj, const int kk, const int s)
 BBox (const int r, const int i, const int j, const int ii, const int jj, const int s, const int ss)
 BBox (const int r, const int i, const int j, const int k, const int ii, const int jj, const int kk, const int s, const int ss, const int sss)
BBox & operator= (const BBox &other)
 ~BBox ()
void setempty ()
void setlower (Coords const &l)
void setlower (const int *l)
void setupper (Coords const &u)
void setupper (const int *u)
void setbbox (const int *l, const int *u)
void setbbox (Coords const &l, Coords const &u)
void setbbox (BBox const &other)
Coords const & lower () const
Coords const & upper () const
int lower (const int i) const
int upper (const int i) const
Coordslower ()
Coordsupper ()
int & lower (const int i)
int & upper (const int i)
Coords const & stepsize (void) const
Coordsstepsize (void)
int stepsize (const int i) const
int & stepsize (const int i)
void setstepsize (const int i, const int s)
void setstepsize (Coords const &s)
void setstepsize (const int s)
int extents (const int i) const
Coords extents () const
int empty () const
int bottom (void) const
int size () const
int compatible (BBox const &rhs, const int d) const
int mergable (BBox const &rhs, const int d, const int olap) const
int mergable (BBox const &rhs, const short *olap) const
BBox & operator+= (Coords const &rhs)
BBox operator+ (Coords const &rhs) const
BBox & operator+= (BBox const &rhs)
BBox operator+ (BBox const &rhs) const
BBox & operator *= (BBox const &rhs)
BBox operator * (BBox const &rhs) const
int intersects (BBox const &rhs) const
int operator== (BBox const &rhs) const
int operator!= (BBox const &rhs) const
int inside (const int i) const
int inside (const int i, const int j) const
int inside (const int i, const int j, const int k) const
int inside (const int *c) const
int inside (Coords const &c) const
int interior (const int i) const
int interior (const int i, const int j) const
int interior (const int i, const int j, const int k) const
int interior (const int *c) const
int interior (Coords const &c) const
int operator> (BBox const &rhs) const
int operator>= (BBox const &rhs) const
int operator< (BBox const &rhs) const
int operator<= (BBox const &rhs) const
void accrete (const int i)
void grow (const int i)
void accrete (Coords const &c)
void grow (Coords const &c)
void growbydim (const short *c)
void shrinkbydim (const short *c)
void growupper (const int i)
void growlower (const int i)
void growupper (Coords const &c)
void growlower (Coords const &c)
void growupper (const int d, const int i)
void growlower (const int d, const int i)
void growupperbydim (const short *c)
void growlowerbydim (const short *c)
void shrinkupperbydim (const short *c)
void shrinklowerbydim (const short *c)
void shift (const int c)
void shift (Coords const &c)
void shift (const int d, const int c)
void coarsen (const int by)
void coarsen (Coords const &by)
void coarsen (const int d, const int by)
void refine (const int by)
void refine (Coords const &by)
void refine (const int by, const int olap)
void refine (const int by, const short *olap)
void refine (const int d, const int by, const int olap)

Public Attributes

int rank

Static Public Attributes

BBox _empty_bbox

Friends

istream & operator>> (istream &, BBox &)
ostream & operator<< (ostream &, BBox const &)
ifstream & operator>> (ifstream &, BBox &)
ofstream & operator<< (ofstream &, const BBox &)
strstream & operator>> (strstream &, BBox &)
strstream & operator<< (strstream &, const BBox &)

Detailed Description

Implementation of a rectangular region in the computational domain in global index coordinates.

This class is sort of an adaptation and extension of the from Class RegionX of LPARX developed by Scott Kohn (skohn-at-cs.ucsd.edu)

Author:
Manish Parashar, Ralf Deiterding (minor changes)

Definition at line 35 of file BBox.h.


The documentation for this class was generated from the following file:


Quickstart     Users Guide     Programmers Reference     Installation      Examples     Download



AMROC Main      Home      Contact
last update: 06/01/04