Public Member Functions | |
Bubble (int order) | |
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 |
Handleable interface | |
int | order_ |
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 SundanceBubble.hpp.
Sundance::Bubble::Bubble | ( | int | order | ) | [inline] |
Definition at line 47 of file SundanceBubble.hpp.
void Bubble::evalOnLine | ( | const Point & | pt, | |
const MultiIndex & | deriv, | |||
Array< double > & | result | |||
) | const [private] |
evaluate on a line cell
Definition at line 214 of file SundanceBubble.cpp.
References Sundance::MultiIndex::order(), order_, and Sundance::value.
Referenced by refEval().
void Bubble::evalOnTet | ( | const Point & | pt, | |
const MultiIndex & | deriv, | |||
Array< double > & | result | |||
) | const [private] |
evaluate on a tet cell
Definition at line 281 of file SundanceBubble.cpp.
References Sundance::MultiIndex::firstOrderDirection(), Sundance::MultiIndex::order(), order_, Sundance::pow(), and Sundance::value.
Referenced by refEval().
void Bubble::evalOnTriangle | ( | const Point & | pt, | |
const MultiIndex & | deriv, | |||
Array< double > & | result | |||
) | const [private] |
evaluate on a triangle cell
Definition at line 238 of file SundanceBubble.cpp.
References Sundance::MultiIndex::firstOrderDirection(), Sundance::gradient(), Sundance::MultiIndex::order(), order_, Sundance::pow(), SUNDANCE_OUT, Sundance::value, Sundance::ADReal::value(), and Playa::ObjectWithVerbosity::verb().
Referenced by refEval().
void Bubble::getReferenceDOFs | ( | const CellType & | maximalCellType, | |
const CellType & | cellType, | |||
Array< Array< Array< int > > > & | dofs | |||
) | const [virtual] |
Implements Sundance::BasisDOFTopologyBase.
Definition at line 103 of file SundanceBubble.cpp.
References Sundance::LineCell, Sundance::PointCell, Sundance::TetCell, and Sundance::TriangleCell.
int Bubble::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 94 of file SundanceBubble.cpp.
int Sundance::Bubble::order | ( | ) | const [inline, virtual] |
Implements Sundance::BasisFamilyBase.
Definition at line 61 of file SundanceBubble.hpp.
References order_.
void Bubble::print | ( | std::ostream & | os | ) | const [virtual] |
void Bubble::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 166 of file SundanceBubble.cpp.
References evalOnLine(), evalOnTet(), evalOnTriangle(), Sundance::SpatialDerivSpecifier::isIdentity(), Sundance::SpatialDerivSpecifier::isPartial(), Sundance::LineCell, Sundance::SpatialDerivSpecifier::mi(), Sundance::PointCell, Sundance::TetCell, and Sundance::TriangleCell.
bool Bubble::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 47 of file SundanceBubble.cpp.
References Sundance::LineCell, Sundance::PointCell, Sundance::TetCell, and Sundance::TriangleCell.
int Sundance::Bubble::order_ [private] |
Definition at line 105 of file SundanceBubble.hpp.
Referenced by evalOnLine(), evalOnTet(), evalOnTriangle(), order(), and print().