Sundance::ReducedQuadrature Class Reference

Inheritance diagram for Sundance::ReducedQuadrature:

Sundance::QuadratureFamilyBase Sundance::QuadratureFamilyStub Playa::Handleable< QuadratureFamilyStub > Playa::Printable Sundance::Noncopyable

List of all members.

Public Member Functions

 ReducedQuadrature ()
virtual ~ReducedQuadrature ()
virtual XMLObject toXML () const
virtual std::string description () const
Handleable interface


virtual int getNumPoints (const CellType &cellType) const
virtual void getPoints (const CellType &cellType, Array< Point > &quadPoints, Array< double > &quadWeights) const
virtual void getAdaptedWeights (const CellType &cellType, int cellDim, int celLID, int facetIndex, const Mesh &mesh, const ParametrizedCurve &globalCurve, Array< Point > &quadPoints, Array< double > &quadWeights, bool &isCut) const


Detailed Description

Reduced quadrature regards all coefficients as constants, using the midpoint value on each element as representative of the entire element. The product of test and trial functions is then integrated using reference integration.

Definition at line 48 of file SundanceReducedQuadrature.hpp.


Constructor & Destructor Documentation

Sundance::ReducedQuadrature::ReducedQuadrature (  ) 

Definition at line 39 of file SundanceReducedQuadrature.cpp.

virtual Sundance::ReducedQuadrature::~ReducedQuadrature (  )  [inline, virtual]

Definition at line 55 of file SundanceReducedQuadrature.hpp.


Member Function Documentation

virtual std::string Sundance::ReducedQuadrature::description (  )  const [inline, virtual]

Describable interface

Reimplemented from Sundance::QuadratureFamilyStub.

Definition at line 62 of file SundanceReducedQuadrature.hpp.

void Sundance::ReducedQuadrature::getAdaptedWeights ( const CellType cellType,
int  cellDim,
int  celLID,
int  facetIndex,
const Mesh mesh,
const ParametrizedCurve &  globalCurve,
Array< Point > &  quadPoints,
Array< double > &  quadWeights,
bool &  isCut 
) const [virtual]

This methos is for the ACI integration

Reimplemented from Sundance::QuadratureFamilyBase.

Definition at line 64 of file SundanceReducedQuadrature.cpp.

int Sundance::ReducedQuadrature::getNumPoints ( const CellType cellType  )  const [virtual]

Reimplemented from Sundance::QuadratureFamilyBase.

Definition at line 59 of file SundanceReducedQuadrature.cpp.

void Sundance::ReducedQuadrature::getPoints ( const CellType cellType,
Array< Point > &  quadPoints,
Array< double > &  quadWeights 
) const [virtual]

Get the quadrature points and weights for the given cell type

Reimplemented from Sundance::QuadratureFamilyBase.

Definition at line 51 of file SundanceReducedQuadrature.cpp.

References Sundance::QuadratureFamilyBase::getPoints().

XMLObject Sundance::ReducedQuadrature::toXML (  )  const [virtual]

Reimplemented from Sundance::QuadratureFamilyStub.

Definition at line 43 of file SundanceReducedQuadrature.cpp.

Site Contact