11 #ifndef _DENSEINTVECTSET_H_ 12 #define _DENSEINTVECTSET_H_ 19 #include "NamespaceHeader.H" 143 void grow(
int igrow);
149 void grow(
int idir,
int igrow);
161 void growHi(
const int a_dir);
177 inline const Box&
box()
const;
250 void linearIn(
const void*
const inBuf);
252 void linearOut(
void*
const a_outBuf)
const;
260 bool isHighEmpty(
const int a_dirS,
const int a_dirE)
const;
288 const IntVect& operator()()
const;
307 void thisIntVect(
const int a_linearPos);
437 #include
"NamespaceFooter.H"
DenseIntVectSet chop(int dir, int chop_pnt)
void shift(const IntVect &iv)
Shift every cell in the set by the input. Fast.
Definition: DenseIntVectSet.H:337
void end()
Definition: BitSet.H:461
bool isEmpty() const
cheaper than numPts()==0 by wide margin
static DenseIntVectSet emptyDenseIntVectSet
Definition: DenseIntVectSet.H:302
Box m_minBox
Definition: DenseIntVectSet.H:265
IntVect size() const
size functions
Definition: Box.H:1819
void thisIntVect(const int a_linearPos)
bool operator[](const IntVect &index) const
O(1) time inquiry of containment.
#define D_TERM6(a, b, c, d, e, f)
Definition: CHArray.H:40
#define CH_assert(cond)
Definition: CHArray.H:37
void end()
Definition: DenseIntVectSet.H:420
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
void begin()
Definition: BitSet.H:453
Dense representation implementation of IntVectSet class.
Definition: DenseIntVectSet.H:37
DenseIntVectSet()
Definition: DenseIntVectSet.H:41
void linearIn(const void *const inBuf)
int m_prevLinearPos
Definition: DenseIntVectSet.H:316
void recalcMinBox() const
DenseIntVectSet & intersect(const DenseIntVectSet &rhs)
const Box & mBox() const
Definition: DenseIntVectSet.H:241
DenseIntVectSet & operator-=(const Box &box)
bool contains(const IntVect &p) const
Definition: Box.H:1887
void linearOut(void *const a_outBuf) const
void define(const BitSet &a_bitset)
Definition: BitSet.H:389
IntVect m_current
Definition: DenseIntVectSet.H:314
Definition: EBInterface.H:45
void nestingRegion(int a_radius, const Box &a_domain)
bool operator==(const DenseIntVectSet &a_lhs) const
DenseIntVectSet & operator|=(const IntVect &intvect)
void operator++()
Definition: DenseIntVectSet.H:401
const Box & box() const
Definition: DenseIntVectSet.H:324
const IntVect & operator()() const
Definition: DenseIntVectSet.H:389
Iterate over all the 'true' members of a DenseIntVectSet set.
Definition: DenseIntVectSet.H:272
void begin()
Definition: DenseIntVectSet.H:409
Box m_domain
Definition: DenseIntVectSet.H:262
Vector< Box > createBoxes() const
DenseIntVectSet & operator &=(const Box &box)
IndexTM< T, N > max(const IndexTM< T, N > &a_p1, const IndexTM< T, N > &a_p2)
Definition: IndexTMI.H:401
BitSetTrueIterator m_iterator
Definition: DenseIntVectSet.H:312
DenseIntVectSetIterator()
Definition: DenseIntVectSet.H:347
friend class DenseIntVectSetIterator
Definition: DenseIntVectSet.H:264
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:469
long index(const IntVect &v) const
Definition: Box.H:1947
const DenseIntVectSet * m_ivsPtr
Definition: DenseIntVectSet.H:313
void setStride()
Definition: DenseIntVectSet.H:426
bool contains(const Box &box) const
O(1) time inquiry of containment.
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
Box & shift(int dir, int nzones)
shift functions
Definition: Box.H:2083
bool ok() const
Definition: BitSet.H:415
bool operator<(const DenseIntVectSet &a_ivs) const
void define(const DenseIntVectSet &ivs)
Definition: DenseIntVectSet.H:376
IntVect m_stride
Definition: DenseIntVectSet.H:315
BitSet m_bits
Definition: DenseIntVectSet.H:263
bool isFull() const
cheaper than numPts()==box().numPts(), by significant margin
bool ok() const
Definition: DenseIntVectSet.H:395