Sundance::Bubble Class Reference

Inheritance diagram for Sundance::Bubble:

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

 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


Detailed Description

Bubble function for use in error estimation

Definition at line 43 of file SundanceBubble.hpp.


Constructor & Destructor Documentation

Sundance::Bubble::Bubble ( int  order  )  [inline]

Definition at line 47 of file SundanceBubble.hpp.


Member Function Documentation

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]

void Bubble::getReferenceDOFs ( const CellType maximalCellType,
const CellType cellType,
Array< Array< Array< int > > > &  dofs 
) const [virtual]

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]

Implements Playa::Printable.

Definition at line 89 of file SundanceBubble.cpp.

References order_.

void Bubble::refEval ( const CellType cellType,
const Array< Point > &  pts,
const SpatialDerivSpecifier deriv,
Array< Array< Array< double > > > &  result,
int  verbosity = 0 
) const [virtual]

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.


Member Data Documentation

int Sundance::Bubble::order_ [private]

Definition at line 105 of file SundanceBubble.hpp.

Referenced by evalOnLine(), evalOnTet(), evalOnTriangle(), order(), and print().

Site Contact