Public Member Functions
Sundance::EdgeLocalizedBasis Class Reference
Inheritance diagram for Sundance::EdgeLocalizedBasis:
Sundance::ScalarBasis Sundance::BasisFamilyBase Sundance::BasisFamilyBase Sundance::BasisReferenceEvaluationBase Sundance::TensorBasisBase Sundance::BasisDOFTopologyBase Sundance::ObjectWithClassVerbosity< BasisFamilyBase > Playa::Printable Playa::Handleable< BasisFamilyBase > Sundance::BasisReferenceEvaluationBase Sundance::TensorBasisBase Sundance::BasisDOFTopologyBase Sundance::ObjectWithClassVerbosity< BasisFamilyBase > Playa::Printable Playa::Handleable< BasisFamilyBase >

List of all members.

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

Detailed Description

EdgeLocalizedBasis is a basis function defined only on edges.

Definition at line 54 of file SundanceEdgeLocalizedBasis.hpp.


Constructor & Destructor Documentation

Definition at line 56 of file SundanceEdgeLocalizedBasis.cpp.


Member Function Documentation

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]
void EdgeLocalizedBasis::getReferenceDOFs ( const CellType maximalCellType,
const CellType cellType,
Array< Array< Array< int > > > &  dofs 
) const [virtual]
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]
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.

Site Contact