Public Member Functions | |
| EdgeLocalizedBasis () | |
| bool | supportsCellTypePair (const CellType &maximalCellType, const CellType &cellType) const |
| Inform caller as to whether a given cell type is supported. | |
| void | print (std::ostream &os) const |
| int | order () const |
| int | nReferenceDOFsWithoutFacets (const CellType &maximalCellType, const CellType &cellType) const |
| void | getReferenceDOFs (const CellType &maximalCellType, const CellType &cellType, Array< Array< Array< int > > > &dofs) const |
| void | refEval (const CellType &cellType, const Array< Point > &pts, const SpatialDerivSpecifier &deriv, Array< Array< Array< double > > > &result, int verbosity=0) const |
Private Member Functions | |
Handleable interface | |
| void | evalOnLine (const Point &pt, const MultiIndex &deriv, Array< double > &result) const |
| void | evalOnTriangle (const Point &pt, const MultiIndex &deriv, Array< double > &result) const |
| void | evalOnTet (const Point &pt, const MultiIndex &deriv, Array< double > &result) const |
EdgeLocalizedBasis is a basis function defined only on edges.
Definition at line 54 of file SundanceEdgeLocalizedBasis.hpp.
Definition at line 56 of file SundanceEdgeLocalizedBasis.cpp.
| void EdgeLocalizedBasis::evalOnLine | ( | const Point & | pt, |
| const MultiIndex & | deriv, | ||
| Array< double > & | result | ||
| ) | const [private] |
evaluate on a line cell
Definition at line 175 of file SundanceEdgeLocalizedBasis.cpp.
References Sundance::MultiIndex::firstOrderDirection(), Sundance::MultiIndex::order(), and Sundance::value.
Referenced by refEval().
| void EdgeLocalizedBasis::evalOnTet | ( | const Point & | pt, |
| const MultiIndex & | deriv, | ||
| Array< double > & | result | ||
| ) | const [private] |
evaluate on a tet cell
Definition at line 256 of file SundanceEdgeLocalizedBasis.cpp.
Referenced by refEval().
| void EdgeLocalizedBasis::evalOnTriangle | ( | const Point & | pt, |
| const MultiIndex & | deriv, | ||
| Array< double > & | result | ||
| ) | const [private] |
evaluate on a triangle cell
Definition at line 192 of file SundanceEdgeLocalizedBasis.cpp.
References Sundance::MultiIndex::firstOrderDirection(), Sundance::gradient(), Sundance::MultiIndex::order(), SUNDANCE_OUT, Sundance::value, Sundance::ADReal::value(), and Playa::ObjectWithVerbosity::verb().
Referenced by refEval().
| void EdgeLocalizedBasis::getReferenceDOFs | ( | const CellType & | maximalCellType, |
| const CellType & | cellType, | ||
| Array< Array< Array< int > > > & | dofs | ||
| ) | const [virtual] |
Implements Sundance::BasisDOFTopologyBase.
Definition at line 101 of file SundanceEdgeLocalizedBasis.cpp.
References Sundance::LineCell, and Sundance::TriangleCell.
| int EdgeLocalizedBasis::nReferenceDOFsWithoutFacets | ( | const CellType & | maximalCellType, |
| const CellType & | cellType | ||
| ) | const [virtual] |
return the number of nodes for this basis on the given cell type
Implements Sundance::BasisDOFTopologyBase.
Definition at line 87 of file SundanceEdgeLocalizedBasis.cpp.
References Sundance::LineCell.
| int Sundance::EdgeLocalizedBasis::order | ( | ) | const [inline, virtual] |
Implements Sundance::BasisFamilyBase.
Definition at line 72 of file SundanceEdgeLocalizedBasis.hpp.
| void EdgeLocalizedBasis::print | ( | std::ostream & | os | ) | const [virtual] |
Implements Playa::Printable.
Definition at line 82 of file SundanceEdgeLocalizedBasis.cpp.
| void EdgeLocalizedBasis::refEval | ( | const CellType & | cellType, |
| const Array< Point > & | pts, | ||
| const SpatialDerivSpecifier & | deriv, | ||
| Array< Array< Array< double > > > & | result, | ||
| int | verbosity = 0 |
||
| ) | const [virtual] |
Implements Sundance::BasisReferenceEvaluationBase.
Definition at line 128 of file SundanceEdgeLocalizedBasis.cpp.
References Sundance::ScalarBasis::dim(), Sundance::dimension(), evalOnLine(), evalOnTet(), evalOnTriangle(), Sundance::SpatialDerivSpecifier::isIdentity(), Sundance::SpatialDerivSpecifier::isPartial(), and Sundance::SpatialDerivSpecifier::mi().
| bool EdgeLocalizedBasis::supportsCellTypePair | ( | const CellType & | maximalCellType, |
| const CellType & | cellType | ||
| ) | const [virtual] |
Inform caller as to whether a given cell type is supported.
Implements Sundance::BasisDOFTopologyBase.
Definition at line 59 of file SundanceEdgeLocalizedBasis.cpp.
References Sundance::BrickCell, Sundance::LineCell, Sundance::QuadCell, Sundance::TetCell, and Sundance::TriangleCell.