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;
251 void linearIn(
const void*
const inBuf);
253 void linearOut(
void*
const a_outBuf)
const;
261 bool isHighEmpty(
const int a_dirS,
const int a_dirE)
const;
289 const IntVect& operator()()
const;
308 void thisIntVect(
const int a_linearPos);
438 #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:338
void end()
Definition: BitSet.H:461
bool isEmpty() const
cheaper than numPts()==0 by wide margin
static DenseIntVectSet emptyDenseIntVectSet
Definition: DenseIntVectSet.H:303
Box m_minBox
Definition: DenseIntVectSet.H:266
IntVect size() const
size functions
Definition: Box.H:1814
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:421
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:130
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:317
void recalcMinBox() const
DenseIntVectSet & intersect(const DenseIntVectSet &rhs)
const Box & mBox() const
Definition: DenseIntVectSet.H:242
DenseIntVectSet & operator-=(const Box &box)
bool contains(const IntVect &p) const
Definition: Box.H:1888
void linearOut(void *const a_outBuf) const
void define(const BitSet &a_bitset)
Definition: BitSet.H:389
IntVect m_current
Definition: DenseIntVectSet.H:315
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:402
const Box & box() const
Definition: DenseIntVectSet.H:325
const IntVect & operator()() const
Definition: DenseIntVectSet.H:390
Iterate over all the 'true' members of a DenseIntVectSet set.
Definition: DenseIntVectSet.H:273
void begin()
Definition: DenseIntVectSet.H:410
Box m_domain
Definition: DenseIntVectSet.H:263
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:403
BitSetTrueIterator m_iterator
Definition: DenseIntVectSet.H:313
DenseIntVectSetIterator()
Definition: DenseIntVectSet.H:348
friend class DenseIntVectSetIterator
Definition: DenseIntVectSet.H:265
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
long index(const IntVect &v) const
Definition: Box.H:1954
const DenseIntVectSet * m_ivsPtr
Definition: DenseIntVectSet.H:314
void setStride()
Definition: DenseIntVectSet.H:427
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:2088
bool ok() const
Definition: BitSet.H:415
bool operator<(const DenseIntVectSet &a_ivs) const
void define(const DenseIntVectSet &ivs)
Definition: DenseIntVectSet.H:377
IntVect m_stride
Definition: DenseIntVectSet.H:316
BitSet m_bits
Definition: DenseIntVectSet.H:264
bool isFull() const
cheaper than numPts()==box().numPts(), by significant margin
bool ok() const
Definition: DenseIntVectSet.H:396