ImplicitCellSet is a cell set subtype where the set of cell LIDs is never stored. More...
Public Member Functions | |
| ImplicitCellSet (const Mesh &mesh, int cellDim, const CellType &cellType) | |
| Construct with a mesh. | |
| virtual CellIterator | begin () const |
| Returns an iterator pointing to the first element in the set. | |
| virtual CellIterator | end () const |
| Returns a past-the-end iterator. | |
| bool | internalLessThan (const CellSetBase *other) const |
Printable interface | |
| virtual void | print (std::ostream &os) const |
| Print to a stream. | |
Private Attributes | |
Handleable interface | |
| int | maxLID_ |
ImplicitCellSet is a cell set subtype where the set of cell LIDs is never stored.
Iteration is done by simply advancing the LID by one.
Definition at line 53 of file SundanceImplicitCellSet.hpp.
Construct with a mesh.
Definition at line 39 of file SundanceImplicitCellSet.cpp.
| CellIterator ImplicitCellSet::begin | ( | ) | const [virtual] |
Returns an iterator pointing to the first element in the set.
Implements Sundance::CellSetBase.
Definition at line 45 of file SundanceImplicitCellSet.cpp.
References Sundance::CellIterator::Begin, Sundance::CellSetBase::dimension(), and Sundance::CellSetBase::mesh().
| CellIterator ImplicitCellSet::end | ( | ) | const [virtual] |
Returns a past-the-end iterator.
Implements Sundance::CellSetBase.
Definition at line 50 of file SundanceImplicitCellSet.cpp.
References Sundance::CellSetBase::dimension(), Sundance::CellIterator::End, and Sundance::CellSetBase::mesh().
| bool ImplicitCellSet::internalLessThan | ( | const CellSetBase * | other | ) | const [virtual] |
Implements Sundance::CellSetBase.
Definition at line 60 of file SundanceImplicitCellSet.cpp.
References maxLID_.
| void ImplicitCellSet::print | ( | std::ostream & | os | ) | const [virtual] |
Print to a stream.
Implements Sundance::Printable.
Definition at line 55 of file SundanceImplicitCellSet.cpp.
References Sundance::CellSetBase::cellType(), and Sundance::CellSetBase::dimension().
int Sundance::ImplicitCellSet::maxLID_ [private] |
Definition at line 82 of file SundanceImplicitCellSet.hpp.
Referenced by internalLessThan().