Sundance::ClosedNewtonCotes Class Reference

Closed Newton-Cotes quadrature rules for lines and triangles. More...

Inheritance diagram for Sundance::ClosedNewtonCotes:

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

List of all members.

Public Member Functions

 ClosedNewtonCotes (int order=2)
virtual ~ClosedNewtonCotes ()
virtual XMLObject toXML () const
 Write to XML.

Protected Member Functions

Handleable interface
virtual void getLineRule (Array< Point > &quadPoints, Array< double > &quadWeights) const
 compute a rule for the reference line cell
virtual void getTriangleRule (Array< Point > &quadPoints, Array< double > &quadWeights) const
 compute a rule for the reference triangle cell


Detailed Description

Closed Newton-Cotes quadrature rules for lines and triangles.

Definition at line 46 of file SundanceClosedNewtonCotes.hpp.


Constructor & Destructor Documentation

ClosedNewtonCotes::ClosedNewtonCotes ( int  order = 2  ) 

Definition at line 38 of file SundanceClosedNewtonCotes.cpp.

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

Definition at line 53 of file SundanceClosedNewtonCotes.hpp.


Member Function Documentation

void ClosedNewtonCotes::getLineRule ( Array< Point > &  quadPoints,
Array< double > &  quadWeights 
) const [protected, virtual]

compute a rule for the reference line cell

Reimplemented from Sundance::QuadratureFamilyBase.

Definition at line 53 of file SundanceClosedNewtonCotes.cpp.

References Sundance::QuadratureFamilyStub::order().

void ClosedNewtonCotes::getTriangleRule ( Array< Point > &  quadPoints,
Array< double > &  quadWeights 
) const [protected, virtual]

compute a rule for the reference triangle cell

Reimplemented from Sundance::QuadratureFamilyBase.

Definition at line 75 of file SundanceClosedNewtonCotes.cpp.

References Sundance::QuadratureFamilyStub::order().

XMLObject ClosedNewtonCotes::toXML (  )  const [virtual]

Write to XML.

Reimplemented from Sundance::QuadratureFamilyStub.

Definition at line 45 of file SundanceClosedNewtonCotes.cpp.

References Sundance::QuadratureFamilyStub::order(), and Teuchos::toString().

Site Contact