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 |
Definition at line 43 of file SundanceEdgeLocalizedBasis.hpp.
EdgeLocalizedBasis::EdgeLocalizedBasis | ( | ) |
Definition at line 45 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 164 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 245 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 181 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 90 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 76 of file SundanceEdgeLocalizedBasis.cpp.
References Sundance::LineCell.
int Sundance::EdgeLocalizedBasis::order | ( | ) | const [inline, virtual] |
void EdgeLocalizedBasis::print | ( | std::ostream & | os | ) | const [virtual] |
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 117 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 48 of file SundanceEdgeLocalizedBasis.cpp.
References Sundance::BrickCell, Sundance::LineCell, Sundance::QuadCell, Sundance::TetCell, and Sundance::TriangleCell.