Chombo + EB + MF  3.2
Public Member Functions | Protected Attributes | List of all members
NewtonCotesQuadrature Class Reference

implements Newton-Cotes edge-based quadrature More...

#include <NewtonCotesQuadrature.H>

Inheritance diagram for NewtonCotesQuadrature:
Inheritance graph
[legend]

Public Member Functions

 NewtonCotesQuadrature (int a_numberOfPoints=3)
 constructor More...
 
virtual ~NewtonCotesQuadrature ()
 
virtual const Vector< QuadratureElementcoefficients (int dir1, int dir2) const
 returns quadrature coefficients More...
 
virtual Real weightMult (const RealVect &a_length, int dir1, int dir2) const
 scale to apply to weight More...
 
virtual EdgeQuadraturenew_quadrature () const
 make a copy of myself More...
 
- Public Member Functions inherited from EdgeQuadrature
virtual ~EdgeQuadrature ()
 

Protected Attributes

Vector< QuadratureElementm_coefficients
 

Detailed Description

implements Newton-Cotes edge-based quadrature

Constructor & Destructor Documentation

◆ NewtonCotesQuadrature()

NewtonCotesQuadrature::NewtonCotesQuadrature ( int  a_numberOfPoints = 3)

constructor

◆ ~NewtonCotesQuadrature()

virtual NewtonCotesQuadrature::~NewtonCotesQuadrature ( )
inlinevirtual

Destructor.

References coefficients(), new_quadrature(), and weightMult().

Member Function Documentation

◆ coefficients()

virtual const Vector<QuadratureElement > NewtonCotesQuadrature::coefficients ( int  dir1,
int  dir2 
) const
virtual

returns quadrature coefficients

Implements EdgeQuadrature.

Referenced by ~NewtonCotesQuadrature().

◆ weightMult()

virtual Real NewtonCotesQuadrature::weightMult ( const RealVect a_length,
int  dir1,
int  dir2 
) const
virtual

scale to apply to weight

Implements EdgeQuadrature.

Referenced by ~NewtonCotesQuadrature().

◆ new_quadrature()

virtual EdgeQuadrature* NewtonCotesQuadrature::new_quadrature ( ) const
virtual

make a copy of myself

Implements EdgeQuadrature.

Referenced by ~NewtonCotesQuadrature().

Member Data Documentation

◆ m_coefficients

Vector<QuadratureElement> NewtonCotesQuadrature::m_coefficients
protected

The documentation for this class was generated from the following file: