
Public Member Functions | |
| CellPredicateBase () | |
| virtual | ~CellPredicateBase () |
| virtual void | testBatch (const Array< int > &cellLID, Array< int > &results) const =0 |
| virtual void | setMesh (const Mesh &mesh, int cellDim) const |
| virtual XMLObject | toXML () const =0 |
| virtual bool | lessThan (const CellPredicateBase *other) const =0 |
| virtual std::string | description () const =0 |
| virtual std::string | typeName () const |
Protected Member Functions | |
| const Mesh & | mesh () const |
| int | cellDim () const |
Private Attributes | |
| Mesh | mesh_ |
| int | cellDim_ |
Definition at line 59 of file SundanceCellPredicateBase.hpp.
| CellPredicateBase::CellPredicateBase | ( | ) |
Empty ctor
Definition at line 38 of file SundanceCellPredicateBase.cpp.
| CellPredicateBase::~CellPredicateBase | ( | ) | [virtual] |
virtual dtor
Definition at line 43 of file SundanceCellPredicateBase.cpp.
| int Sundance::CellPredicateBase::cellDim | ( | ) | const [inline, protected] |
Definition at line 99 of file SundanceCellPredicateBase.hpp.
References cellDim_.
Referenced by Sundance::PositionalCellPredicate::testBatch(), Sundance::LabelCellPredicate::testBatch(), Sundance::CellCurvePredicate::testBatch(), and Sundance::BoundaryCellPredicate::testBatch().
| virtual std::string Sundance::CellPredicateBase::description | ( | ) | const [pure virtual] |
| virtual bool Sundance::CellPredicateBase::lessThan | ( | const CellPredicateBase * | other | ) | const [pure virtual] |
| const Mesh& Sundance::CellPredicateBase::mesh | ( | ) | const [inline, protected] |
Definition at line 95 of file SundanceCellPredicateBase.hpp.
References mesh_.
Referenced by Sundance::PositionalCellPredicate::testBatch(), Sundance::LabelCellPredicate::testBatch(), Sundance::GIDCellPredicate::testBatch(), Sundance::CellCurvePredicate::testBatch(), and Sundance::BoundaryCellPredicate::testBatch().
| virtual void Sundance::CellPredicateBase::setMesh | ( | const Mesh & | mesh, | |
| int | cellDim | |||
| ) | const [inline, virtual] |
Set the current mesh and dimension on which cells are to be tested
Definition at line 77 of file SundanceCellPredicateBase.hpp.
| virtual void Sundance::CellPredicateBase::testBatch | ( | const Array< int > & | cellLID, | |
| Array< int > & | results | |||
| ) | const [pure virtual] |
Test the predicate on a batch of cells
Implemented in Sundance::BoundaryCellPredicate, Sundance::CellCurvePredicate, Sundance::GIDCellPredicate, Sundance::LabelCellPredicate, and Sundance::PositionalCellPredicate.
Referenced by Sundance::SubsetCellFilter::internalGetCells().
| virtual XMLObject Sundance::CellPredicateBase::toXML | ( | ) | const [pure virtual] |
Write to XML
Implemented in Sundance::BoundaryCellPredicate, Sundance::CellCurvePredicate, Sundance::GIDCellPredicate, Sundance::LabelCellPredicate, and Sundance::PositionalCellPredicate.
Referenced by Sundance::PositionalCellPredicate::lessThan(), Sundance::LabelCellPredicate::lessThan(), Sundance::GIDCellPredicate::lessThan(), Sundance::CellCurvePredicate::lessThan(), and Sundance::BoundaryCellPredicate::lessThan().
| virtual std::string Sundance::CellPredicateBase::typeName | ( | ) | const [inline, virtual] |
Definition at line 91 of file SundanceCellPredicateBase.hpp.
int Sundance::CellPredicateBase::cellDim_ [mutable, private] |
Reimplemented in Sundance::GIDCellPredicate.
Definition at line 104 of file SundanceCellPredicateBase.hpp.
Mesh Sundance::CellPredicateBase::mesh_ [mutable, private] |