
Public Member Functions | |
| CellCurvePredicate (const ParametrizedCurve &curve, CurveCellFilterMode filterMode) | |
| virtual | ~CellCurvePredicate () |
| virtual void | testBatch (const Array< int > &cellLID, Array< int > &results) const |
| virtual XMLObject | toXML () const |
| virtual bool | lessThan (const CellPredicateBase *other) const |
| virtual std::string | description () const |
Private Attributes | |
Handleable interface | |
| ParametrizedCurve | curve_ |
| CurveCellFilterMode | filterMode_ |
Definition at line 48 of file SundanceCellCurvePredicate.hpp.
| Sundance::CellCurvePredicate::CellCurvePredicate | ( | const ParametrizedCurve & | curve, | |
| CurveCellFilterMode | filterMode | |||
| ) | [inline] |
Construct with a function of positions
Definition at line 52 of file SundanceCellCurvePredicate.hpp.
| virtual Sundance::CellCurvePredicate::~CellCurvePredicate | ( | ) | [inline, virtual] |
Definition at line 56 of file SundanceCellCurvePredicate.hpp.
| virtual std::string Sundance::CellCurvePredicate::description | ( | ) | const [inline, virtual] |
Implements Sundance::CellPredicateBase.
Definition at line 69 of file SundanceCellCurvePredicate.hpp.
References filterMode_.
| bool CellCurvePredicate::lessThan | ( | const CellPredicateBase * | other | ) | const [virtual] |
comparison to determine RQCs
Implements Sundance::CellPredicateBase.
Definition at line 45 of file SundanceCellCurvePredicate.cpp.
References curve_, filterMode_, and Sundance::CellPredicateBase::toXML().
| void CellCurvePredicate::testBatch | ( | const Array< int > & | cellLID, | |
| Array< int > & | results | |||
| ) | const [virtual] |
Test the predicate on a batch of cells
Implements Sundance::CellPredicateBase.
Definition at line 59 of file SundanceCellCurvePredicate.cpp.
References Sundance::CellPredicateBase::cellDim(), curve_, filterMode_, Sundance::Mesh::getFacetLIDs(), Sundance::CellPredicateBase::mesh(), Sundance::Mesh::nodePosition(), Sundance::Mesh::numFacets(), SIGN, and Sundance::Mesh::spatialDim().
| XMLObject CellCurvePredicate::toXML | ( | ) | const [virtual] |
Write to XML
Implements Sundance::CellPredicateBase.
Definition at line 272 of file SundanceCellCurvePredicate.cpp.
ParametrizedCurve Sundance::CellCurvePredicate::curve_ [private] |
The parameterized curve
Definition at line 86 of file SundanceCellCurvePredicate.hpp.
Referenced by lessThan(), and testBatch().
CurveCellFilterMode Sundance::CellCurvePredicate::filterMode_ [private] |
The filter modus
Definition at line 89 of file SundanceCellCurvePredicate.hpp.
Referenced by description(), lessThan(), and testBatch().