Chombo + EB + MF
3.2
|
An irregular domain on an integer lattice. More...
#include <IntVectSet.H>
Public Member Functions | |
bool | operator== (const IntVectSet &a_ivs) const |
Returns true if this IntVectSet has the same IntVects as a_ivs. More... | |
bool | operator< (const IntVectSet &a_ivs) const |
void | printBoxes (std::ostream &a_ostream) const |
Writes a Vector<Box> representation to an output stream. More... | |
void | p () const |
Writes a Vector<Box> representation to the parallel stdout. More... | |
void | convert () const |
Static Public Attributes | |
static long int | count |
static long int | peakcount |
static int | s_maxDense |
Static Private Member Functions | |
static void | clearStaticMemory () |
Private Attributes | |
bool | m_isdense |
TreeIntVectSet | m_ivs |
DenseIntVectSet | m_dense |
Friends | |
class | IVSIterator |
std::ostream & | operator<< (std::ostream &os, const IntVectSet &ivs) |
Writes a text representation of an IntVectSet to an output stream. More... | |
void | dumpmemoryatexit () |
Constructors, Destructor, and defines | |
~IntVectSet () | |
IntVectSet () | |
default constructor: defines an empty IntVectSet. More... | |
void | define () |
default define: modifies this IntVectSet to be empty. More... | |
IntVectSet (const IntVectSet &ivs) | |
copy constructor More... | |
void | define (const IntVectSet &ivs) |
copy define: modifies this IntVectSet into a copy of ivs More... | |
void | define_intvectset (const IntVectSet &ivs) |
copy define: same as define(IntVectSet) More... | |
IntVectSet | copy () const |
return a copy of this IntVectSet More... | |
IntVectSet (const DenseIntVectSet &a_dense) | |
conversion constructor More... | |
void | define (const DenseIntVectSet &a_dense) |
conversion define More... | |
IntVectSet (const TreeIntVectSet &a_tree) | |
conversion constructor More... | |
void | define (const TreeIntVectSet &a_tree) |
conversion define More... | |
IntVectSet (const IntVect &iv) | |
IntVect constructor. More... | |
void | define (const IntVect &iv) |
IntVect define: modifies this IntVectSet to have just one IntVect. More... | |
void | define_intvect (const IntVect &iv) |
IntVect define: same as define(IntVect) More... | |
IntVectSet (const Box &b) | |
Box constructor. More... | |
void | define (const Box &b) |
Box define. More... | |
void | define_box (const Box &b) |
Box define: same as define(Box) More... | |
void | define_boxCorners (const Box &b) |
Define this IntVectSet to have all the corners of the input box. More... | |
Union operators | |
IntVectSet | operator| (const IntVectSet &ivs1, const IntVectSet &ivs2) |
Returns a new IntVectSet that is the union of two IntVectSets. More... | |
IntVectSet | operator| (const IntVectSet &ivs, const IntVect &iv) |
Returns a new IntVectSet that is the union of an IntVectSet and an IntVect. More... | |
IntVectSet | operator| (const IntVect &iv, const IntVectSet &ivs) |
Returns a new IntVectSet that is the union of an IntVectSet and an IntVect. More... | |
IntVectSet | operator| (const IntVectSet &ivs, const Box &b) |
Returns a new IntVectSet that is the union of an IntVectSet and a Box. More... | |
IntVectSet | operator| (const Box &b, const IntVectSet &ivs) |
Returns a new IntVectSet that is the union of an IntVectSet and a Box. More... | |
IntVectSet & | operator|= (const IntVectSet &ivs) |
unions another IntVectSet ivs into this IntVectSet More... | |
void | or_intvectset (const IntVectSet &ivs) |
same as operator|= except it doesn't return *this More... | |
IntVectSet & | operator|= (const IntVect &iv) |
unions a single IntVect iv into this IntVectSet More... | |
void | or_intvect (const IntVect &ivs) |
same as operator|= except it doesn't return *this More... | |
IntVectSet & | operator|= (const Box &b) |
unions the IntVects in the Box into this IntVectSet More... | |
void | or_box (const Box &b) |
same as operator|= except it doesn't return *this More... | |
Complement operators | |
IntVectSet | operator- (const IntVectSet &ivs) const |
Returns the complement of the IntVectSet ivs within this IntVectSet. More... | |
IntVectSet | operator- (const Box &b) const |
Returns the complement of the Box b within this IntVectSet. More... | |
IntVectSet | operator- (const IntVect &iv) const |
Returns the complement of the IntVect iv within this IntVectSet. More... | |
IntVectSet & | operator-= (const IntVectSet &ivs) |
Remove the IntVects in the IntVectSet ivs from this IntVectSet. More... | |
void | minus (const IntVectSet &ivs) |
same as operator-= except it doesn't return *this More... | |
IntVectSet & | operator-= (const Box &b) |
Remove the IntVects in the Box b from this IntVectSet. More... | |
void | minus_box (const Box &b) |
same as operator-= except it doesn't return *this More... | |
IntVectSet & | operator-= (const IntVect &iv) |
Remove the IntVect iv from this IntVectSet. More... | |
void | minus_intvect (const IntVect &iv) |
same as operator-= except it doesn't return *this More... | |
Intersection operators | |
IntVectSet | operator & (const IntVectSet &ivs1, const IntVectSet &ivs2) |
Returns a new IntVectSet that is the intersection of two IntVectSets. More... | |
IntVectSet | operator & (const IntVectSet &ivs, const Box &b) |
Returns a new IntVectSet that is the intersection of an IntVectSet and a Box. More... | |
IntVectSet | operator & (const Box &b, const IntVectSet &ivs) |
Returns a new IntVectSet that is the intersection of an IntVectSet and a Box. More... | |
IntVectSet & | operator &= (const IntVectSet &ivs) |
Modifies this IntVectSet to its intersection with another IntVectSet. More... | |
void | and_intvectset (const IntVectSet &ivs) |
same as operator&= except it doesn't return *this More... | |
IntVectSet & | operator &= (const Box &b) |
Modifies this IntVectSet to be its intersection with a Box. More... | |
void | and_box (const Box &b) |
same as operator&= except it doesn't return *this More... | |
IntVectSet & | operator &= (const ProblemDomain &domain) |
Modifies this IntVectSet to be its intersection with the Box in a ProblemDomain. More... | |
void | and_domain (const ProblemDomain &d) |
same as operator&= except it doesn't return *this More... | |
Modification functions | |
IntVectSet | grow (const IntVectSet &ivs, int igrow) |
Add IntVects to an IntVectSet in all directions. More... | |
IntVectSet | refine (const IntVectSet &ivs, int iref) |
Refine all the IntVects in an IntVectSet. More... | |
IntVectSet | coarsen (const IntVectSet &ivs, int iref) |
Coarsen all the IntVects in an IntVectSet. More... | |
void | grow (int igrow) |
Add IntVects to this IntVectSet in all directions. More... | |
IntVectSet & | grow (int idir, int igrow) |
Add IntVects to this IntVectSet in one direction. More... | |
void | grow_dir (int idir, int igrow) |
same as grow(idir,igrow) except doesn't return *this More... | |
void | growHi () |
Analogous to surroundingNodes() for a Box. More... | |
void | growHi (const int a_dir) |
Analogous to surroundingNodes(dir) for a Box. More... | |
IntVectSet & | refine (int iref=2) |
Refine all the IntVects in this IntVecSet. More... | |
IntVectSet & | coarsen (int iref=2) |
Coarsen all the IntVects in this IntVectSet. More... | |
void | shift (const IntVect &iv) |
Increment all the IntVects in this IntVectSet by the IntVect iv. More... | |
void | nestingRegion (int radius, const Box &domain, int granularity=1) |
Make this IntVectSet be properly nested. More... | |
void | nestingRegion (int radius, const ProblemDomain &probdomain, int granularity=1) |
Make this IntVectSet be properly nested. More... | |
void | nestingRegion_prob (int radius, const ProblemDomain &probdomain) |
same as nestingRegion() except it doesn't return *this More... | |
void | makeEmpty () |
Modifies this IntVectSet to be empty. More... | |
void | makeEmptyBits () |
Modifies this IntVectSet to empty but leaves dense domain box unchanged. More... | |
IntVectSet | chop (int dir, int chop_pnt) |
Chop the IntVectSet at the chop_pnt index in the dir direction. More... | |
void | chop (int dir, int chop_pnt, IntVectSet &a_hi) |
static void | setMaxDense (const int &a_maxDense) |
Accessor and Inquiry functions | |
int | numPts () const |
Returns the number of IntVects in this IntVectSet. More... | |
const Box & | minBox () const |
Returns the minimum enclosing box of this IntVectSet. More... | |
void | recalcMinBox () const |
Forces recalculation of the minimum enclosing box of this IntVectSet. More... | |
bool | isEmpty () const |
Returns true if no IntVects are in this IntVectSet. More... | |
bool | isDense () const |
Returns true if this IntVectSet is currently being represented in a dense fashion. More... | |
bool | contains (const IntVect &iv) const |
Returns true if this IntVectSet contains iv. More... | |
bool | contains (const IntVectSet &ivs) const |
Returns true if this IntVectSet contains all the IntVects in ivs. More... | |
bool | contains_intvectset (const IntVectSet &ivs) const |
same as contains(ivs) More... | |
bool | contains (const Box &box) const |
Returns true if this IntVectSet contains all the IntVects in box. More... | |
bool | contains_box (const Box &b) const |
same as contains(b) More... | |
Vector< Box > | boxes () const |
Returns a Vector<Box> representation of this IntVectSet. More... | |
void | compact () const |
Optimize memory usage of this IntVectSet. More... | |
Linearization functions | |
int | linearSize () const |
Returns the number of bytes in a linear representation of *this. More... | |
void | linearIn (const void *const a_inBuf) |
Modify *this using the data in the linear representation in a_inBuf. More... | |
void | linearOut (void *const a_outBuf) const |
Write a linear representation of *this to a_outBuf. More... | |
An irregular domain on an integer lattice.
IntVectSet represents an irregular region in an integer lattice SpaceDim-dimensional index space as an arbitrary collection of IntVects. A full set calculus is defined. Any IntVect or cell-centered Box can be fully represented as an IntVectSet. There is an iterator that provides access to the contents of an IntVectSet. IntVectSets are implicitly cell-centered. Intersection, union, and complement operations are defined for pairs of IntVectSets (and, by extension, an IntVectSet and an IntVect or an IntVectSet and a Box). The minimum Box of an IntVectSet is defined as the smallest Box that contains every IntVect in the IntVectSet.
The IntVects in an IntVectSet do not have a canonical ordering.
IntVectSet::~IntVectSet | ( | ) |
|
inline |
default constructor: defines an empty IntVectSet.
References count, and peakcount.
Referenced by copy(), and define_intvect().
|
inline |
|
explicit |
conversion constructor
|
explicit |
conversion constructor
|
explicit |
IntVect constructor.
construct this to be an IntVectSet with just one IntVect.
|
explicit |
Box constructor.
construct this to be an IntVectSet with all the IntVects in the Box .
void IntVectSet::define | ( | ) |
default define: modifies this IntVectSet to be empty.
Referenced by copy(), define_box(), define_intvect(), define_intvectset(), and IVSIterator::~IVSIterator().
|
inline |
copy define: modifies this IntVectSet into a copy of ivs
|
inline |
copy define: same as define(IntVectSet)
References define().
|
inline |
return a copy of this IntVectSet
References define(), IntVectSet(), and IVSIterator::iv().
void IntVectSet::define | ( | const DenseIntVectSet & | a_dense | ) |
conversion define
void IntVectSet::define | ( | const TreeIntVectSet & | a_tree | ) |
conversion define
void IntVectSet::define | ( | const IntVect & | iv | ) |
IntVect define: modifies this IntVectSet to have just one IntVect.
|
inline |
IntVect define: same as define(IntVect)
References define(), and IntVectSet().
void IntVectSet::define | ( | const Box & | b | ) |
|
inline |
Box define: same as define(Box)
References define(), define_boxCorners(), and operator|=().
void IntVectSet::define_boxCorners | ( | const Box & | b | ) |
Define this IntVectSet to have all the corners of the input box.
Referenced by define_box().
IntVectSet& IntVectSet::operator|= | ( | const IntVectSet & | ivs | ) |
unions another IntVectSet ivs into this IntVectSet
Referenced by define_box(), or_intvect(), and or_intvectset().
|
inline |
same as operator|= except it doesn't return *this
References operator|=().
IntVectSet& IntVectSet::operator|= | ( | const IntVect & | iv | ) |
unions a single IntVect iv into this IntVectSet
|
inline |
same as operator|= except it doesn't return *this
References operator|=().
IntVectSet& IntVectSet::operator|= | ( | const Box & | b | ) |
unions the IntVects in the Box into this IntVectSet
|
inline |
same as operator|= except it doesn't return *this
References operator-(), operator-=(), and operator|.
IntVectSet IntVectSet::operator- | ( | const IntVectSet & | ivs | ) | const |
Returns the complement of the IntVectSet ivs within this IntVectSet.
Referenced by or_box().
IntVectSet IntVectSet::operator- | ( | const Box & | b | ) | const |
Returns the complement of the Box b within this IntVectSet.
IntVectSet IntVectSet::operator- | ( | const IntVect & | iv | ) | const |
Returns the complement of the IntVect iv within this IntVectSet.
IntVectSet& IntVectSet::operator-= | ( | const IntVectSet & | ivs | ) |
Remove the IntVects in the IntVectSet ivs from this IntVectSet.
Modifies this IntVectSet to be the complement of the IntVectSet ivs within this IntVectSet.
Referenced by minus(), minus_box(), and or_box().
|
inline |
same as operator-= except it doesn't return *this
References operator-=().
IntVectSet& IntVectSet::operator-= | ( | const Box & | b | ) |
Remove the IntVects in the Box b from this IntVectSet.
Modifies this IntVectSet to be the complement of the argument Box within this IntVectSet.
|
inline |
same as operator-= except it doesn't return *this
References operator-=().
IntVectSet& IntVectSet::operator-= | ( | const IntVect & | iv | ) |
Remove the IntVect iv from this IntVectSet.
Modifies this IntVectSet to be the complement of the argument IntVect within this IntVectSet.
|
inline |
same as operator-= except it doesn't return *this
References IVSIterator::iv(), operator &, and operator &=().
IntVectSet& IntVectSet::operator&= | ( | const IntVectSet & | ivs | ) |
Modifies this IntVectSet to its intersection with another IntVectSet.
Referenced by and_box(), and_intvectset(), and minus_intvect().
|
inline |
same as operator&= except it doesn't return *this
References operator &=().
IntVectSet& IntVectSet::operator&= | ( | const Box & | b | ) |
Modifies this IntVectSet to be its intersection with a Box.
|
inline |
same as operator&= except it doesn't return *this
References operator &=().
IntVectSet& IntVectSet::operator&= | ( | const ProblemDomain & | domain | ) |
Modifies this IntVectSet to be its intersection with the Box in a ProblemDomain.
|
inline |
same as operator&= except it doesn't return *this
References grow().
void IntVectSet::grow | ( | int | igrow | ) |
Add IntVects to this IntVectSet in all directions.
Modifies this IntVectSet by growing it by the specified number of IntVects in all directions, including diagonal. It is an error if igrow < 0.
Referenced by and_domain(), and grow_dir().
IntVectSet& IntVectSet::grow | ( | int | idir, |
int | igrow | ||
) |
Add IntVects to this IntVectSet in one direction.
Modifies this IntVectSet by growing it by the specified number of IntVects igrow in the specified coordinate direction idir. Directions are zero-based.
|
inline |
void IntVectSet::growHi | ( | ) |
Analogous to surroundingNodes() for a Box.
Modifies this IntVectSet by adding IntVects to the high-side of each direction.
Referenced by grow_dir().
void IntVectSet::growHi | ( | const int | a_dir | ) |
Analogous to surroundingNodes(dir) for a Box.
Modifies this IntVectSet by adding IntVects to the high-side of a specified direction.
IntVectSet& IntVectSet::refine | ( | int | iref = 2 | ) |
Refine all the IntVects in this IntVecSet.
Modifies this IntVectSet by refining it by the factor iref. It is an error if iref <= 0. Definition of refinement: for each IntVect iv
in the original IntVectSet, the refined IntVectSet will contain the Box defined by refine( Box(iv,iv), iref ).
Referenced by grow_dir(), and isDense().
IntVectSet& IntVectSet::coarsen | ( | int | iref = 2 | ) |
Coarsen all the IntVects in this IntVectSet.
Modifies this IntVectSet by coarsening it by the factor iref. It is an error if iref <= 0. Definition of coarsening: for each IntVect iv
in the original IntVectSet, the refined IntVectSet will contain the IntVect defined by coarsen( iv, iref ).
Referenced by grow_dir(), and isDense().
void IntVectSet::shift | ( | const IntVect & | iv | ) |
Increment all the IntVects in this IntVectSet by the IntVect iv.
Referenced by IVSFAB< T >::copy(), and grow_dir().
void IntVectSet::nestingRegion | ( | int | radius, |
const Box & | domain, | ||
int | granularity = 1 |
||
) |
Make this IntVectSet be properly nested.
Modifies this IntVectSet to remove all IntVects that are not at least radius from the the edge of the IntVectSet in any direction. radius must be positive. IntVects that border the Box domain are spared from this trimming.
Referenced by grow_dir(), and nestingRegion_prob().
void IntVectSet::nestingRegion | ( | int | radius, |
const ProblemDomain & | probdomain, | ||
int | granularity = 1 |
||
) |
Make this IntVectSet be properly nested.
Modifies this IntVectSet to remove all IntVects that are not at least radius from the the edge of the IntVectSet in any direction. radius must be positive. IntVects that border non-periodic boundaries are spared from this trimming. Radius extends across periodic images.
|
inline |
same as nestingRegion()
except it doesn't return *this
References chop(), contains(), isDense(), isEmpty(), makeEmpty(), makeEmptyBits(), minBox(), nestingRegion(), numPts(), recalcMinBox(), and setMaxDense().
void IntVectSet::makeEmpty | ( | ) |
Modifies this IntVectSet to be empty.
Referenced by IVSFAB< T >::clear(), and nestingRegion_prob().
void IntVectSet::makeEmptyBits | ( | ) |
Modifies this IntVectSet to empty but leaves dense domain box unchanged.
This leaves unchanged the domain box for a dense IntVectSet - it only sets all bits to zero. So you can still do unions later (in the domain box) and not be converted to a tree representation. There is no difference from makeEmpty() for a tree IntVectSet
Referenced by nestingRegion_prob().
IntVectSet IntVectSet::chop | ( | int | dir, |
int | chop_pnt | ||
) |
Chop the IntVectSet at the chop_pnt index in the dir direction.
Returns one IntVectSet and modifies this IntVectSet. The union of the two is the original IntVectSet. This IntVectSet gets the IntVects with dir index >= chop_pnt, and the returned IntVectSet gets the IntVects with dir index < chop_pnt. It is an error if dir is invalid.
Referenced by nestingRegion_prob().
void IntVectSet::chop | ( | int | dir, |
int | chop_pnt, | ||
IntVectSet & | a_hi | ||
) |
|
static |
Set the max box size for IntVectSet::define(Box) which will make the IntVectSet dense. Default is 6.4^6.
Referenced by nestingRegion_prob().
int IntVectSet::numPts | ( | ) | const |
Returns the number of IntVects in this IntVectSet.
Referenced by IVSFAB< T >::linearOut(), nestingRegion_prob(), and IVSFAB< T >::size().
const Box& IntVectSet::minBox | ( | ) | const |
Returns the minimum enclosing box of this IntVectSet.
Referenced by BaseIFFAB< FaceStencil >::define(), MiniIFFAB< Real >::define(), BaseIVFAB< Real >::define(), IVSFAB< T >::define(), and nestingRegion_prob().
void IntVectSet::recalcMinBox | ( | ) | const |
Forces recalculation of the minimum enclosing box of this IntVectSet.
Referenced by nestingRegion_prob().
bool IntVectSet::isEmpty | ( | ) | const |
Returns true if no IntVects are in this IntVectSet.
Referenced by IVSFAB< T >::copy(), BaseIFFAB< FaceStencil >::copy(), BaseIVFAB< Real >::copy(), BaseIFFAB< FaceStencil >::define(), MiniIVFAB< Real >::define(), BaseIVFAB< Real >::define(), BaseEBCellFAB< Real >::define(), IVSFAB< T >::define(), and nestingRegion_prob().
|
inline |
Returns true if this IntVectSet is currently being represented in a dense fashion.
References coarsen(), m_isdense, and refine().
Referenced by nestingRegion_prob().
bool IntVectSet::contains | ( | const IntVect & | iv | ) | const |
Returns true if this IntVectSet contains iv.
Referenced by contains_box(), contains_intvectset(), IVSFAB< T >::getIndex(), and nestingRegion_prob().
bool IntVectSet::contains | ( | const IntVectSet & | ivs | ) | const |
Returns true if this IntVectSet contains all the IntVects in ivs.
|
inline |
same as contains(ivs)
References contains().
bool IntVectSet::contains | ( | const Box & | box | ) | const |
Returns true if this IntVectSet contains all the IntVects in box.
Note: this is done using an algorithm that is much faster than looping through all the IntVects.
|
inline |
same as contains(b)
References boxes(), compact(), contains(), linearIn(), linearOut(), linearSize(), operator<(), operator==(), and printBoxes().
Returns a Vector<Box> representation of this IntVectSet.
The returned Boxes contain only the IntVects in this IntVectSet, so the union of the Boxes in the Vector == this IntVectSet.
Referenced by contains_box().
void IntVectSet::compact | ( | ) | const |
Optimize memory usage of this IntVectSet.
Attempts to optimize storage for IntVectSet. This will also optimize iteration through the IntVectSet later. Best to call it when you are no longer modifying the IntVectSet
Referenced by contains_box().
int IntVectSet::linearSize | ( | ) | const |
Returns the number of bytes in a linear representation of *this.
Referenced by contains_box().
void IntVectSet::linearIn | ( | const void *const | a_inBuf | ) |
Modify *this using the data in the linear representation in a_inBuf.
Referenced by contains_box().
void IntVectSet::linearOut | ( | void *const | a_outBuf | ) | const |
Write a linear representation of *this to a_outBuf.
Assumes a_outBuf is at least linearSize() bytes long.
Referenced by contains_box().
bool IntVectSet::operator== | ( | const IntVectSet & | a_ivs | ) | const |
Returns true if this IntVectSet has the same IntVects as a_ivs.
Referenced by contains_box().
bool IntVectSet::operator< | ( | const IntVectSet & | a_ivs | ) | const |
Primary sorting criterion: being dense; if *this is dense and a_ivs is not, then *this is smaller, and vice versa. Secondary sorting criterion: operator< as defined on DenseIntVectSet or TreeIntVectSet. In a total tie, returns false.
These criteria might not seem natural, but that doesn't matter as the only reason for this operator is to support using IntVectSet as the key to an std::map.
Referenced by contains_box().
void IntVectSet::printBoxes | ( | std::ostream & | a_ostream | ) | const |
Writes a Vector<Box> representation to an output stream.
Referenced by contains_box(), and p().
|
inline |
Writes a Vector<Box> representation to the parallel stdout.
References convert(), operator<<, pout(), and printBoxes().
void IntVectSet::convert | ( | ) | const |
Referenced by p().
|
staticprivate |
|
friend |
Referenced by IVSIterator::IVSIterator().
|
friend |
Returns a new IntVectSet that is the union of two IntVectSets.
Referenced by or_box().
|
friend |
Returns a new IntVectSet that is the union of an IntVectSet and an IntVect.
|
friend |
Returns a new IntVectSet that is the union of an IntVectSet and an IntVect.
|
friend |
Returns a new IntVectSet that is the union of an IntVectSet and a Box.
|
friend |
Returns a new IntVectSet that is the union of an IntVectSet and a Box.
|
friend |
Returns a new IntVectSet that is the intersection of two IntVectSets.
The result may be empty.
Referenced by minus_intvect().
|
friend |
Returns a new IntVectSet that is the intersection of an IntVectSet and a Box.
The result may be empty.
|
friend |
Returns a new IntVectSet that is the intersection of an IntVectSet and a Box.
The result may be empty.
|
friend |
Add IntVects to an IntVectSet in all directions.
Creates a new IntVectSet that is a copy of the argument IntVectSet ivs grown by the specified number of IntVects in all directions igrow, including diagonal. It is an error if igrow < 0.
|
friend |
Refine all the IntVects in an IntVectSet.
Creates a new IntVectSet that is a copy of the argument IntVectSet ivs refined by the factor iref. It is an error if iref <= 0. Definition of refinement: for each IntVect iv
in the original IntVectSet ivs, the refined IntVectSet will contain the Box defined by refine( Box(iv,iv), iref ).
|
friend |
Coarsen all the IntVects in an IntVectSet.
Creates a new IntVectSet that is a copy of the argument IntVectSet ivs coarsened by the factor iref. It is an error if iref <= 0. Definition of coarsening: for each IntVect iv
in the original IntVectSet, the refined IntVectSet will contain the IntVect defined by coarsen( iv, iref ).
|
friend |
Writes a text representation of an IntVectSet to an output stream.
Referenced by p().
|
friend |
|
static |
Referenced by IntVectSet().
|
static |
Referenced by IntVectSet().
|
static |
|
private |
Referenced by IVSIterator::begin(), IVSIterator::end(), isDense(), IVSIterator::ok(), IVSIterator::operator()(), and IVSIterator::operator++().
|
private |
|
private |
Referenced by IVSIterator::begin(), IVSIterator::end(), IVSIterator::ok(), IVSIterator::operator()(), and IVSIterator::operator++().