#include <DenseIntVectSet.H>
Collaboration diagram for DenseIntVectSet:
Public Methods | |
DenseIntVectSet () | |
DenseIntVectSet (const Box &a_domain, bool init=true) | |
DenseIntVectSet & | operator-= (const Box &box) |
DenseIntVectSet & | operator-= (const IntVect &intvect) |
DenseIntVectSet & | operator-= (const DenseIntVectSet &ivs) |
DenseIntVectSet & | operator &= (const Box &box) |
DenseIntVectSet & | operator &= (const ProblemDomain &domain) |
DenseIntVectSet & | operator|= (const IntVect &intvect) |
DenseIntVectSet & | operator|= (const Box &b) |
DenseIntVectSet & | operator|= (const DenseIntVectSet &b) |
DenseIntVectSet & | operator &= (const DenseIntVectSet &ivs) |
void | shift (const IntVect &iv) |
bool | operator[] (const IntVect &index) const |
bool | contains (const Box &box) const |
void | coarsen (int iref) |
void | refine (int iref) |
void | grow (int igrow) |
void | grow (int idir, int igrow) |
DenseIntVectSet | chop (int dir, int chop_pnt) |
const Box & | box () const |
void | nestingRegion (int a_radius, const Box &a_domain) |
void | nestingRegion (int a_radius, const ProblemDomain &a_domain) |
bool | isEmpty () const |
bool | isFull () const |
int | numPts () const |
Vector< Box > | createBoxes () const |
void | compact () const |
void | recalcMinBox () const |
const Box & | mBox () const |
Private Methods | |
void | grow (const IntVect &iv) |
DenseIntVectSet & | intersect (const DenseIntVectSet &rhs) |
Private Attributes | |
Box | m_domain |
BitSet | m_bits |
Box | m_minBox |
Friends | |
class | DenseIntVectSetIterator |
|
|
|
you can either have the domain begin all true, or all false |
|
|
|
Chop the DenseIntVectSet at the chop_pnt in the dir direction \ Returns one DenseIntVectSet and modifies the object DenseIntVectSet. \ The union of the two is the original IntVectSet. \ The modified DenseIntVectSet is the low end, the returned DenseIntvectSet \ is the high end. |
|
coarsen the set by the input |
|
set object to its minimum representation. changes data, but is a logically const operation |
|
returns 'true' if the entire set of points specified by the box 'b' is a member of the IntvectSet |
|
turn DenseIntVectSet into a Vector of Boxes |
|
|
|
grow the set by the input |
|
grow the set by the input |
|
|
|
return true if the set has no points |
|
return true if the set consists of a set of a full box |
|
|
|
see IntVectSet |
|
see IntVectSet |
|
return the number of points in the set |
|
make this set the intersection of itself and the input |
|
make this set the intersection of itself and the input |
|
make this set the intersection of itself and the input |
|
make this set the complement of itself and the input |
|
make this set the complement of itself and the input |
|
make this set the complement of itself and the input |
|
|
|
make this set the union of itself and the input. resulting DenseIntVectSet has domain of the minBox holding both oeprator and operand |
|
make this set the union of itself and the input. b MUST be within the domain of of the DenseIntVectSet or this will throw an error |
|
make this set the union of itself and the input. intvect MUST be within the domain of of the DenseIntVectSet or this will throw an error |
|
|
|
refine the set by the input |
|
Shift every cell in the set by the input. |
|
|
|
|
|
|
|
|