#include <TreeIntVectSet.H>
Collaboration diagram for TreeIntVectSet:
Public Methods | |
TreeIntVectSet () | |
TreeIntVectSet (const Box &) | |
TreeIntVectSet (const TreeIntVectSet &a_sivs) | |
~TreeIntVectSet () | |
void | define (const Box &) |
void | define (const TreeIntVectSet &a_sivs) |
TreeIntVectSet & | operator= (const TreeIntVectSet &a_sivs) |
TreeIntVectSet & | operator|= (const TreeIntVectSet &a_sivs) |
or | |
TreeIntVectSet & | operator|= (const IntVect &a_iv) |
TreeIntVectSet & | operator|= (const Box &a_box) |
TreeIntVectSet & | operator &= (const TreeIntVectSet &s_sivs) |
and | |
TreeIntVectSet & | operator &= (const Box &a_box) |
TreeIntVectSet & | operator &= (const ProblemDomain &a_domain) |
TreeIntVectSet & | operator-= (const TreeIntVectSet &a_sivs) |
not | |
TreeIntVectSet & | operator-= (const IntVect &a_iv) |
TreeIntVectSet & | operator-= (const Box &a_box) |
Vector< Box > | createBoxes () const |
void | createBoxes (Vector< Box > &boxes, int &size) const |
bool | contains (const IntVect &iv) const |
bool | contains (const Box &box) const |
TreeIntVectSet | chop (int idir, int chop_pnt) |
void | grow (int igrow) |
void | grow (int idir, int igrow) |
void | refine (int iref=2) |
void | coarsen (int iref=2) |
void | shift (const IntVect &iv) |
void | clear () |
void | nestingRegion (int a_radius, const Box &a_domain) |
void | nestingRegion (int a_radius, const ProblemDomain &a_domain) |
const Box & | minBox () const |
bool | isEmpty () const |
int | numPts () const |
void | compact () const |
void | recalcMinBox () const |
int | linearSize () const |
void | linearIn (const void *const inBuf) |
void | linearOut (void *const a_outBuf) const |
Private Methods | |
void | growTree () |
Static Private Methods | |
void | quadrantBox (const Box &inputBox, int quadrant, Box &outputQuadrant) |
void | clearTree (TreeNode &tree) |
void | expandNode (TreeNode &node) |
int | oppositeQuadrant (int index) |
bool | nextIntVect (const Box &box, IntVect &iv) |
void | nextNode (int ¤tDepth) |
void | cloneNode (const TreeNode &src, TreeNode &dest) |
Private Attributes | |
TreeNode | m_tree |
Box | m_minBox |
Box | m_spanBox |
int | m_depth |
Static Private Attributes | |
Pool | treeNodePool |
Vector< int > | index |
Vector< int > | bufferOffset |
Vector< TreeNode * > | parents |
Vector< Box > | boxes |
TreeNode | full |
Friends | |
class | TreeIntVectSetIterator |
struct | Flag |
class | IntVectSet |
void | dumpTree (const TreeIntVectSet *set) |
|
|
|
|
|
|
|
|
|
somewhat expensive, but shouldn't be ;-) |
|
|
|
|
|
|
|
fast if iref is power of 2 |
|
|
|
|
|
|
|
|
|
Returns Vector<Box> representation of this IntVectSet. |
|
|
|
|
|
|
|
expensive |
|
expensive |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
and
|
|
|
|
|
|
not
|
|
|
|
|
|
|
|
or
|
|
|
|
|
|
|
|
fast if iref is power of 2 |
|
very very fast |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|