
Public Member Functions | |
| SubsetCellFilter (const CellFilter &superset, const CellPredicate &predicate) | |
| virtual | ~SubsetCellFilter () |
| virtual int | dimension (const Mesh &mesh) const |
| Return the dimension of the cells that will be identified by this filter when acting on the given mesh. | |
| virtual XMLObject | toXML () const |
| virtual bool | lessThan (const CellFilterStub *other) const |
| virtual std::string | description () const |
| Print to a stream. | |
Handleable interface | |
| CellFilter | superset_ |
| CellPredicate | predicate_ |
| virtual CellSet | internalGetCells (const Mesh &mesh) const |
Definition at line 45 of file SundanceSubsetCellFilter.hpp.
| SubsetCellFilter::SubsetCellFilter | ( | const CellFilter & | superset, | |
| const CellPredicate & | predicate | |||
| ) |
Definition at line 42 of file SundanceSubsetCellFilter.cpp.
References Playa::Handle< PointerType >::description(), Sundance::CellPredicate::description(), Sundance::CellFilterBase::setName(), and SUNDANCE_MSG3.
| SubsetCellFilter::~SubsetCellFilter | ( | ) | [virtual] |
Definition at line 54 of file SundanceSubsetCellFilter.cpp.
| virtual std::string Sundance::SubsetCellFilter::description | ( | ) | const [inline, virtual] |
Print to a stream.
Reimplemented from Sundance::CellFilterBase.
Definition at line 67 of file SundanceSubsetCellFilter.hpp.
References Playa::Handle< PointerType >::description(), Sundance::CellPredicate::description(), predicate_, and superset_.
| virtual int Sundance::SubsetCellFilter::dimension | ( | const Mesh & | mesh | ) | const [inline, virtual] |
Return the dimension of the cells that will be identified by this filter when acting on the given mesh.
Implements Sundance::CellFilterBase.
Definition at line 57 of file SundanceSubsetCellFilter.hpp.
References Sundance::CellFilter::dimension(), and superset_.
Implements Sundance::CellFilterBase.
Definition at line 82 of file SundanceSubsetCellFilter.cpp.
References Sundance::CellSet::begin(), Sundance::ExplicitCellSet::cells(), Sundance::Mesh::cellType(), Sundance::CellFilter::dimension(), Sundance::CellSet::end(), Sundance::CellFilter::getCells(), Sundance::Set< Key, Compare >::insert(), Sundance::Mesh::numCells(), predicate_, Playa::Handle< PointerType >::ptr(), Sundance::CellPredicate::setMesh(), SUNDANCE_OUT, superset_, and Sundance::CellPredicateBase::testBatch().
| bool SubsetCellFilter::lessThan | ( | const CellFilterStub * | other | ) | const [virtual] |
Definition at line 67 of file SundanceSubsetCellFilter.cpp.
References predicate_, superset_, and toXML().
| XMLObject SubsetCellFilter::toXML | ( | ) | const [virtual] |
Definition at line 59 of file SundanceSubsetCellFilter.cpp.
References predicate_, Teuchos::toString(), and Sundance::CellPredicate::toXML().
Referenced by lessThan().
Definition at line 85 of file SundanceSubsetCellFilter.hpp.
Referenced by description(), internalGetCells(), lessThan(), and toXML().
Definition at line 82 of file SundanceSubsetCellFilter.hpp.
Referenced by description(), dimension(), internalGetCells(), and lessThan().