11 #ifndef _NEWTONCOTESQUADRATURE_H_ 12 #define _NEWTONCOTESQUADRATURE_H_ 16 #include "NamespaceHeader.H" 54 #include "NamespaceFooter.H" virtual Real weightMult(const RealVect &a_length, int dir1, int dir2) const
scale to apply to weight
NewtonCotesQuadrature(int a_numberOfPoints=3)
constructor
Vector< QuadratureElement > m_coefficients
Definition: NewtonCotesQuadrature.H:50
virtual const Vector< QuadratureElement > coefficients(int dir1, int dir2) const
returns quadrature coefficients
virtual EdgeQuadrature * new_quadrature() const
make a copy of myself
implements Newton-Cotes edge-based quadrature
Definition: NewtonCotesQuadrature.H:21
double Real
Definition: REAL.H:33
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
Virtual base class for defining edge-based quadratures.
Definition: EdgeQuadrature.H:37
virtual ~NewtonCotesQuadrature()
Definition: NewtonCotesQuadrature.H:31