Chombo + EB + MF
3.2
|
Structure for passing component ranges in code. More...
#include <Interval.H>
Public Member Functions | |
Interval () | |
Interval (int a_firstComp, int a_lastComp) | |
Interval & | operator= (const Interval &p) |
void | define (int a_firstComp, int a_lastComp) |
int | begin () const |
int | end () const |
int | size () const |
bool | contains (int a_val) const |
bool | operator== (const Interval &p) const |
test for equality More... | |
Private Attributes | |
int | m_begin |
int | m_end |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Interval &dit) |
Structure for passing component ranges in code.
A class to encapsulate component ranges
|
inline |
|
inline |
initialize with first and last component numbers
|
inline |
References begin(), end(), m_begin, and m_end.
Referenced by WriteMultiData< T >::WriteMultiData().
|
inline |
return first component number
References m_begin.
Referenced by BaseEBCellFAB< Real >::assign(), IVSFAB< T >::copy(), BaseIFFAB< FaceStencil >::copy(), MiniIVFAB< Real >::copy(), MiniIFFAB< Real >::copy(), BaseIVFAB< Real >::copy(), BaseEBCellFAB< Real >::copy(), BaseEBFaceFAB< Real >::copy(), BaseFab< Real >::copy(), define(), LevelData< BaseFab< int > >::define(), BaseFab< Real >::define(), BoxLayoutData< BaseFab< int > >::define(), BaseEBCellFAB< Real >::fill(), MiniIVFAB< Real >::linearIn(), BaseIVFAB< Real >::linearIn(), IVSFAB< T >::linearIn(), BaseIFFAB< FaceStencil >::linearIn(), MiniIFFAB< Real >::linearIn(), LDaddOp< T >::linearIn(), LDaddFaceOp< T >::linearIn(), LDaddEdgeOp< T >::linearIn(), LDaddNodeOp< T >::linearIn(), BaseFab< Real >::linearIn2(), MiniIVFAB< Real >::linearOut(), BaseIVFAB< Real >::linearOut(), BaseIFFAB< FaceStencil >::linearOut(), MiniIFFAB< Real >::linearOut(), IVSFAB< T >::linearOut(), BaseFab< Real >::linearOut2(), LDaddOp< T >::op(), LDaddNodeOp< T >::op(), EBFastFR::reflux(), IVSFAB< T >::size(), BaseIVFAB< Real >::size(), BaseIFFAB< FaceStencil >::size(), MiniIFFAB< Real >::size(), IndicesTransformation::transform(), and WriteMultiData< T >::writeData().
|
inline |
return last component number
References m_end.
Referenced by blockRead(), IVSFAB< T >::copy(), BaseIFFAB< FaceStencil >::copy(), MiniIFFAB< Real >::copy(), BaseIVFAB< Real >::copy(), BaseEBFaceFAB< Real >::copy(), define(), BoxLayoutData< BaseFab< int > >::define(), MiniIVFAB< Real >::linearIn(), BaseIVFAB< Real >::linearIn(), IVSFAB< T >::linearIn(), BaseIFFAB< FaceStencil >::linearIn(), MiniIFFAB< Real >::linearIn(), MiniIVFAB< Real >::linearOut(), BaseIVFAB< Real >::linearOut(), BaseIFFAB< FaceStencil >::linearOut(), MiniIFFAB< Real >::linearOut(), IVSFAB< T >::linearOut(), read(), IVSFAB< T >::size(), BaseIVFAB< Real >::size(), BaseIFFAB< FaceStencil >::size(), MiniIFFAB< Real >::size(), IndicesTransformation::transform(), and WriteMultiData< T >::writeData().
|
inline |
return last - first + 1
References m_begin, and m_end.
Referenced by aliasLevelData(), BaseEBCellFAB< Real >::assign(), blockRead(), blockWrite(), IVSFAB< T >::copy(), BaseIFFAB< FaceStencil >::copy(), MiniIVFAB< Real >::copy(), MiniIFFAB< Real >::copy(), BaseIVFAB< Real >::copy(), BaseEBCellFAB< Real >::copy(), BaseEBFaceFAB< Real >::copy(), BaseFab< Real >::copy(), dataSize(), LevelData< BaseFab< int > >::define(), BaseFab< Real >::define(), BoxLayoutData< BaseFab< int > >::define(), BaseEBCellFAB< Real >::fill(), BoxLayoutData< BaseFab< int > >::generalCopyTo(), LDaddOp< T >::linearIn(), LDaddFaceOp< T >::linearIn(), LDaddEdgeOp< T >::linearIn(), LDaddNodeOp< T >::linearIn(), BaseFab< Real >::linearIn2(), BaseFab< Real >::linearOut2(), LDaddOp< T >::op(), LDaddNodeOp< T >::op(), read(), EBFastFR::reflux(), MiniIVFAB< Real >::size(), IVSFAB< T >::size(), BaseFab< Real >::size(), IndicesTransformation::transform(), BoxLayoutData< BaseFab< int > >::unpackReceivesToMe_append(), write(), WriteMultiData< T >::writeData(), and WriteMultiData< T >::WriteMultiData().
|
inline |
test for equality
References m_begin, m_end, and operator<<.
|
friend |
Referenced by operator==().
|
private |
Referenced by begin(), contains(), define(), operator=(), operator==(), and size().
|
private |
Referenced by contains(), define(), end(), operator=(), operator==(), and size().