Public Member Functions | |
CellSetBase (const Mesh &mesh, int cellDim, const CellType &cellType) | |
virtual CellIterator | begin () const =0 |
virtual CellIterator | end () const =0 |
const CellType & | cellType (const CellType &cellType) const |
int | meshID () const |
int | dimension () const |
const Mesh & | mesh () const |
const CellType & | cellType () const |
bool | lessThan (const CellSetBase *other) const |
virtual bool | internalLessThan (const CellSetBase *other) const =0 |
Private Attributes | |
Mesh | mesh_ |
CellType | cellType_ |
int | dim_ |
Definition at line 55 of file SundanceCellSetBase.hpp.
Construct, initializing to an empty set
Definition at line 40 of file SundanceCellSetBase.cpp.
virtual CellIterator Sundance::CellSetBase::begin | ( | ) | const [pure virtual] |
Return an iterator pointing to the first element in the set
Implemented in Sundance::ExplicitCellSet, and Sundance::ImplicitCellSet.
const CellType& Sundance::CellSetBase::cellType | ( | ) | const [inline] |
The type of the cells contained in this set
Definition at line 85 of file SundanceCellSetBase.hpp.
References cellType_.
Referenced by Sundance::ImplicitCellSet::print().
Return the type of cells in this set
Definition at line 72 of file SundanceCellSetBase.hpp.
References cellType_.
int Sundance::CellSetBase::dimension | ( | ) | const [inline] |
The dimension of the cells contained in this set
Definition at line 79 of file SundanceCellSetBase.hpp.
References dim_.
Referenced by Sundance::ImplicitCellSet::begin(), Sundance::ImplicitCellSet::end(), and Sundance::ImplicitCellSet::print().
virtual CellIterator Sundance::CellSetBase::end | ( | ) | const [pure virtual] |
Return an iterator containing the past-the-end value
Implemented in Sundance::ExplicitCellSet, and Sundance::ImplicitCellSet.
virtual bool Sundance::CellSetBase::internalLessThan | ( | const CellSetBase * | other | ) | const [pure virtual] |
bool CellSetBase::lessThan | ( | const CellSetBase * | other | ) | const |
Reimplemented in Sundance::MaximalCellSet.
Definition at line 45 of file SundanceCellSetBase.cpp.
References cellType_, dim_, and internalLessThan().
const Mesh& Sundance::CellSetBase::mesh | ( | ) | const [inline] |
The mesh in which these cells exist
Definition at line 82 of file SundanceCellSetBase.hpp.
References mesh_.
Referenced by Sundance::ImplicitCellSet::begin(), and Sundance::ImplicitCellSet::end().
int Sundance::CellSetBase::meshID | ( | ) | const [inline] |
The ID number of the mesh in which these cells exist
Definition at line 76 of file SundanceCellSetBase.hpp.
References Sundance::Mesh::id(), and mesh_.
CellType Sundance::CellSetBase::cellType_ [private] |
the type of cell in the set
Definition at line 99 of file SundanceCellSetBase.hpp.
Referenced by cellType(), and lessThan().
int Sundance::CellSetBase::dim_ [private] |
the dimension of the cells in the set
Definition at line 102 of file SundanceCellSetBase.hpp.
Referenced by dimension(), and lessThan().
Mesh Sundance::CellSetBase::mesh_ [private] |
the mesh in which the set exists
Definition at line 96 of file SundanceCellSetBase.hpp.