Chombo + EB
3.0
|
Structure for passing component ranges in code. More...
#include <Interval.H>
Public Member Functions | |
Interval () | |
Interval (int a_firstComp, int a_lastComp) | |
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 |
Structure for passing component ranges in code.
A class to encapsulate component ranges
|
inline |
|
inline |
initialize with first and last component numbers
|
inline |
return first component number
References m_begin.
Referenced by BaseEBCellFAB< T >::assign(), IVSFAB< T >::copy(), BaseIFFAB< T >::copy(), MiniIFFAB< T >::copy(), BaseIVFAB< T >::copy(), BaseEBCellFAB< T >::copy(), BaseEBFaceFAB< T >::copy(), BaseFab< T >::copy(), LevelData< T >::define(), BaseFab< T >::define(), BoxLayoutData< T >::define(), BaseEBCellFAB< T >::fill(), MiniIVFAB< T >::linearIn(), BaseIVFAB< T >::linearIn(), MiniIFFAB< T >::linearIn(), BaseIFFAB< T >::linearIn(), IVSFAB< T >::linearIn(), LDaddOp< T >::linearIn(), BaseFab< T >::linearIn2(), MiniIVFAB< T >::linearOut(), BaseIVFAB< T >::linearOut(), MiniIFFAB< T >::linearOut(), BaseIFFAB< T >::linearOut(), IVSFAB< T >::linearOut(), BaseFab< T >::linearOut2(), LDaddOp< T >::op(), EBFastFR::reflux(), IVSFAB< T >::size(), BaseIVFAB< T >::size(), MiniIFFAB< T >::size(), and BaseIFFAB< T >::size().
|
inline |
return last component number
References m_end.
Referenced by blockRead(), IVSFAB< T >::copy(), BaseIFFAB< T >::copy(), MiniIFFAB< T >::copy(), BaseIVFAB< T >::copy(), BaseEBCellFAB< T >::copy(), BaseEBFaceFAB< T >::copy(), BoxLayoutData< T >::define(), MiniIVFAB< T >::linearIn(), BaseIVFAB< T >::linearIn(), MiniIFFAB< T >::linearIn(), BaseIFFAB< T >::linearIn(), IVSFAB< T >::linearIn(), MiniIVFAB< T >::linearOut(), BaseIVFAB< T >::linearOut(), MiniIFFAB< T >::linearOut(), BaseIFFAB< T >::linearOut(), IVSFAB< T >::linearOut(), read(), IVSFAB< T >::size(), BaseIVFAB< T >::size(), MiniIFFAB< T >::size(), and BaseIFFAB< T >::size().
|
inline |
return last - first + 1
References m_begin, and m_end.
Referenced by aliasLevelData(), BaseEBCellFAB< T >::assign(), blockRead(), blockWrite(), IVSFAB< T >::copy(), BaseIFFAB< T >::copy(), MiniIFFAB< T >::copy(), BaseIVFAB< T >::copy(), BaseEBCellFAB< T >::copy(), BaseEBFaceFAB< T >::copy(), BaseFab< T >::copy(), dataSize(), LevelData< T >::define(), BaseFab< T >::define(), BoxLayoutData< T >::define(), BaseEBCellFAB< T >::fill(), BoxLayoutData< T >::generalCopyTo(), LDaddOp< T >::linearIn(), BaseFab< T >::linearIn2(), BaseFab< T >::linearOut2(), LDaddOp< T >::op(), read(), EBFastFR::reflux(), MiniIVFAB< T >::size(), IVSFAB< T >::size(), BaseFab< T >::size(), and write().
|
inline |
|
private |
Referenced by begin(), contains(), define(), operator==(), and size().
|
private |
Referenced by contains(), define(), end(), operator==(), and size().