OGS
NumLib::GenericIntegrationMethod Class Referencefinal

Detailed Description

Provides data for arbitrary numerical integration methods of any integration order.

This class basically holds a collection of integration points and integration weights.

Definition at line 23 of file GenericIntegrationMethod.h.

#include <GenericIntegrationMethod.h>

Public Member Functions

 GenericIntegrationMethod (unsigned const order, std::vector< MathLib::WeightedPoint > &&points)
unsigned getIntegrationOrder () const
unsigned getNumberOfPoints () const
MathLib::WeightedPoint const & getWeightedPoint (unsigned const igp) const
 GenericIntegrationMethod (GenericIntegrationMethod const &)=delete
GenericIntegrationMethodoperator= (GenericIntegrationMethod const &)=delete
 GenericIntegrationMethod (GenericIntegrationMethod &&)=default
GenericIntegrationMethodoperator= (GenericIntegrationMethod &&)=default

Private Attributes

unsigned order_
std::vector< MathLib::WeightedPointpoints_

Constructor & Destructor Documentation

◆ GenericIntegrationMethod() [1/3]

NumLib::GenericIntegrationMethod::GenericIntegrationMethod ( unsigned const order,
std::vector< MathLib::WeightedPoint > && points )
inline

Definition at line 26 of file GenericIntegrationMethod.h.

28 : order_{order}, points_{std::move(points)}
29 {
30 }
std::vector< MathLib::WeightedPoint > points_

References order_, and points_.

Referenced by GenericIntegrationMethod(), GenericIntegrationMethod(), operator=(), and operator=().

◆ GenericIntegrationMethod() [2/3]

NumLib::GenericIntegrationMethod::GenericIntegrationMethod ( GenericIntegrationMethod const & )
delete

◆ GenericIntegrationMethod() [3/3]

NumLib::GenericIntegrationMethod::GenericIntegrationMethod ( GenericIntegrationMethod && )
default

Member Function Documentation

◆ getIntegrationOrder()

unsigned NumLib::GenericIntegrationMethod::getIntegrationOrder ( ) const
inline

Definition at line 32 of file GenericIntegrationMethod.h.

32{ return order_; }

References order_.

◆ getNumberOfPoints()

◆ getWeightedPoint()

◆ operator=() [1/2]

GenericIntegrationMethod & NumLib::GenericIntegrationMethod::operator= ( GenericIntegrationMethod && )
default

◆ operator=() [2/2]

GenericIntegrationMethod & NumLib::GenericIntegrationMethod::operator= ( GenericIntegrationMethod const & )
delete

Member Data Documentation

◆ order_

unsigned NumLib::GenericIntegrationMethod::order_
private

Definition at line 49 of file GenericIntegrationMethod.h.

Referenced by GenericIntegrationMethod(), and getIntegrationOrder().

◆ points_

std::vector<MathLib::WeightedPoint> NumLib::GenericIntegrationMethod::points_
private

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