Public Member Functions | |
ExplicitCellSet (const Mesh &mesh, int cellDim, const CellType &cellType) | |
ExplicitCellSet (const Mesh &mesh, int cellDim, const CellType &cellType, const Set< int > &cellLIDs) | |
virtual CellIterator | begin () const |
virtual CellIterator | end () const |
Set< int > & | cells () |
bool | internalLessThan (const CellSetBase *other) const |
Printable interface | |
virtual void | print (std::ostream &os) const |
Private Attributes | |
Handleable interface | |
Set< int > | cells_ |
Definition at line 47 of file SundanceExplicitCellSet.hpp.
Construct with a mesh, initializing to an empty set
Definition at line 39 of file SundanceExplicitCellSet.cpp.
ExplicitCellSet::ExplicitCellSet | ( | const Mesh & | mesh, | |
int | cellDim, | |||
const CellType & | cellType, | |||
const Set< int > & | cellLIDs | |||
) |
Construct with a set of cells
Definition at line 45 of file SundanceExplicitCellSet.cpp.
CellIterator ExplicitCellSet::begin | ( | ) | const [virtual] |
Returns an iterator pointing to the first element in the set.
Implements Sundance::CellSetBase.
Definition at line 52 of file SundanceExplicitCellSet.cpp.
References Sundance::CellIterator::Begin, and cells_.
Set<int>& Sundance::ExplicitCellSet::cells | ( | ) | [inline] |
Returns a modifiable reference to the set of cells
Definition at line 68 of file SundanceExplicitCellSet.hpp.
References cells_.
Referenced by Sundance::SubsetCellFilter::internalGetCells(), Sundance::CellSet::setDifference(), Sundance::CellSet::setIntersection(), and Sundance::CellSet::setUnion().
CellIterator ExplicitCellSet::end | ( | ) | const [virtual] |
Returns a past-the-end iterator
Implements Sundance::CellSetBase.
Definition at line 57 of file SundanceExplicitCellSet.cpp.
References cells_, and Sundance::CellIterator::End.
bool ExplicitCellSet::internalLessThan | ( | const CellSetBase * | other | ) | const [virtual] |
Implements Sundance::CellSetBase.
Definition at line 67 of file SundanceExplicitCellSet.cpp.
References cells_.
void ExplicitCellSet::print | ( | std::ostream & | os | ) | const [virtual] |
Print to a stream
Implements Playa::Printable.
Definition at line 62 of file SundanceExplicitCellSet.cpp.
References cells_.
Set<int> Sundance::ExplicitCellSet::cells_ [private] |
The set of cell LIDs
Definition at line 85 of file SundanceExplicitCellSet.hpp.
Referenced by begin(), cells(), end(), internalLessThan(), and print().