Sundance::QuadratureType Class Reference

QuadratureFamily is a geometry-independent specification of a method by which quadrature is to be carried out. More...

Inheritance diagram for Sundance::QuadratureType:

Playa::Handle< QuadratureTypeBase >

List of all members.

Public Member Functions

 QuadratureType ()
 Empty ctor.
 QuadratureType (Handleable< QuadratureTypeBase > *rawPtr)
 Construct a QuadratureType with a raw pointer to a QuadratureTypeBase.
 QuadratureType (const RefCountPtr< QuadratureTypeBase > &smartPtr)
 Construct a QuadratureType with a smart pointer to a QuadratureTypeBase.
XMLObject toXML () const
bool supportsCellType (const CellType &cellType) const
 Indicate whether the given cell type is supported at any order.
bool supports (const CellType &cellType, int order) const
 Indicate whether the given cell type is supported at the specified order.
int maxOrder (const CellType &cellType) const
 Return the max quadrature order available on the given cell type.
bool hasLimitedOrder (const CellType &cellType) const
 Indicate whether there is a maximum order for quadrature rules available on the given cell type.
QuadratureFamily createQuadFamily (int order) const
 Create a quadrature family of the specified order.
int findValidOrder (const CellType &cellType, int minReqOrder) const


Detailed Description

QuadratureFamily is a geometry-independent specification of a method by which quadrature is to be carried out.

For example, a GaussianQuadrature family will generate Gaussian quadrature points on any cell type.

Definition at line 47 of file SundanceQuadratureType.hpp.


Constructor & Destructor Documentation

Sundance::QuadratureType::QuadratureType (  )  [inline]

Empty ctor.

Definition at line 51 of file SundanceQuadratureType.hpp.

Sundance::QuadratureType::QuadratureType ( Handleable< QuadratureTypeBase > *  rawPtr  )  [inline]

Construct a QuadratureType with a raw pointer to a QuadratureTypeBase.

Definition at line 51 of file SundanceQuadratureType.hpp.

Sundance::QuadratureType::QuadratureType ( const RefCountPtr< QuadratureTypeBase > &  smartPtr  )  [inline]

Construct a QuadratureType with a smart pointer to a QuadratureTypeBase.

Definition at line 51 of file SundanceQuadratureType.hpp.


Member Function Documentation

QuadratureFamily Sundance::QuadratureType::createQuadFamily ( int  order  )  const [inline]

Create a quadrature family of the specified order.

Definition at line 75 of file SundanceQuadratureType.hpp.

References Playa::Handle< QuadratureTypeBase >::ptr().

Referenced by Sundance::RefIntegral::RefIntegral().

int QuadratureType::findValidOrder ( const CellType cellType,
int  minReqOrder 
) const

Definition at line 39 of file SundanceQuadratureType.cpp.

References hasLimitedOrder(), maxOrder(), and supports().

Referenced by Sundance::RefIntegral::RefIntegral().

bool Sundance::QuadratureType::hasLimitedOrder ( const CellType cellType  )  const [inline]

Indicate whether there is a maximum order for quadrature rules available on the given cell type.

Definition at line 71 of file SundanceQuadratureType.hpp.

References Playa::Handle< QuadratureTypeBase >::ptr().

Referenced by findValidOrder().

int Sundance::QuadratureType::maxOrder ( const CellType cellType  )  const [inline]

Return the max quadrature order available on the given cell type.

Definition at line 66 of file SundanceQuadratureType.hpp.

References Playa::Handle< QuadratureTypeBase >::ptr().

Referenced by findValidOrder().

bool Sundance::QuadratureType::supports ( const CellType cellType,
int  order 
) const [inline]

Indicate whether the given cell type is supported at the specified order.

Definition at line 62 of file SundanceQuadratureType.hpp.

References Playa::Handle< QuadratureTypeBase >::ptr().

Referenced by findValidOrder().

bool Sundance::QuadratureType::supportsCellType ( const CellType cellType  )  const [inline]

Indicate whether the given cell type is supported at any order.

Definition at line 57 of file SundanceQuadratureType.hpp.

References Playa::Handle< QuadratureTypeBase >::ptr().

XMLObject Sundance::QuadratureType::toXML (  )  const [inline]

Site Contact