Sundance::BasisFamilyBase Class Reference

Inheritance diagram for Sundance::BasisFamilyBase:

Playa::Handleable< BasisFamilyBase > Playa::Printable Sundance::ObjectWithClassVerbosity< BasisFamilyBase > Sundance::BasisDOFTopologyBase Sundance::TensorBasisBase Sundance::BasisReferenceEvaluationBase Playa::ObjectWithVerbosity Sundance::ScalarBasis Sundance::ScalarBasis Sundance::VectorBasis Sundance::VectorBasisComponent Sundance::Bernstein Sundance::Bubble Sundance::CubicHermite Sundance::EdgeLocalizedBasis Sundance::Fourier Sundance::Lagrange Sundance::Legendre Sundance::Bernstein Sundance::Bubble Sundance::CubicHermite Sundance::EdgeLocalizedBasis Sundance::Fourier Sundance::Lagrange Sundance::Legendre Sundance::HCurlVectorBasis Sundance::HDivVectorBasis

List of all members.

Public Member Functions

virtual int order () const =0
virtual bool lessThan (const BasisDOFTopologyBase *other) const
 Comparison function allowing use of OrderedHandle<BasisFamilyBase> in sorted containers.
virtual bool requiresBasisTransformation () const
 Indicates whether mapping the basis requires an additional correction.
virtual void preApplyTransformation (const CellType &maxCellType, const Mesh &mesh, const Array< int > &cellLIDs, const CellJacobianBatch &JVol, RCP< Array< double > > &A) const
 Default transformation does nothing.
virtual void postApplyTransformation (const CellType &maxCellType, const Mesh &mesh, const Array< int > &cellLIDs, const CellJacobianBatch &JVol, RCP< Array< double > > &A) const
 Default transformation does nothing.
virtual void preApplyTransformationTranspose (const CellType &maxCellType, const Mesh &mesh, const Array< int > &cellLIDs, const CellJacobianBatch &JVol, Array< double > &A) const
 Default transformation does nothing.


Detailed Description

Definition at line 54 of file SundanceBasisFamilyBase.hpp.


Member Function Documentation

bool BasisFamilyBase::lessThan ( const BasisDOFTopologyBase other  )  const [virtual]

Comparison function allowing use of OrderedHandle<BasisFamilyBase> in sorted containers.

This is needed by the MixedDOFMap ctor when it uses an STL map to group functions having the same bases into chunks.

Note: this method should normally only be called from within the comparison operator of OrderedHandle, in which context comparisons between different derived types have already been resolved by comparisons of typeid. Thus, we can require that the lessThan() function be called only with an argument whose typeid is equal to that of *this. We recommend that all overriding implementations check that condition.

Parameters:
other [in] Pointer to another basis family object. Precondition: typeid(*this)==typeid(*other).

Implements Sundance::BasisDOFTopologyBase.

Reimplemented in Sundance::RaviartThomas.

Definition at line 39 of file SundanceBasisFamilyBase.cpp.

References order(), and Sundance::typeLessThan().

virtual int Sundance::BasisFamilyBase::order (  )  const [pure virtual]

virtual void Sundance::BasisFamilyBase::postApplyTransformation ( const CellType maxCellType,
const Mesh mesh,
const Array< int > &  cellLIDs,
const CellJacobianBatch JVol,
RCP< Array< double > > &  A 
) const [inline, virtual]

Default transformation does nothing.

Reimplemented in Sundance::CubicHermite.

Definition at line 81 of file SundanceBasisFamilyBase.hpp.

virtual void Sundance::BasisFamilyBase::preApplyTransformation ( const CellType maxCellType,
const Mesh mesh,
const Array< int > &  cellLIDs,
const CellJacobianBatch JVol,
RCP< Array< double > > &  A 
) const [inline, virtual]

Default transformation does nothing.

Reimplemented in Sundance::CubicHermite.

Definition at line 74 of file SundanceBasisFamilyBase.hpp.

virtual void Sundance::BasisFamilyBase::preApplyTransformationTranspose ( const CellType maxCellType,
const Mesh mesh,
const Array< int > &  cellLIDs,
const CellJacobianBatch JVol,
Array< double > &  A 
) const [inline, virtual]

Default transformation does nothing.

Reimplemented in Sundance::CubicHermite.

Definition at line 88 of file SundanceBasisFamilyBase.hpp.

virtual bool Sundance::BasisFamilyBase::requiresBasisTransformation (  )  const [inline, virtual]

Indicates whether mapping the basis requires an additional correction.

Reimplemented in Sundance::CubicHermite.

Definition at line 72 of file SundanceBasisFamilyBase.hpp.

Site Contact