OGS
NumLib::DefaultIntegrationMethodProvider Class Reference

Detailed Description

Provides OGS's default Gauss-Legendre integration method of a given order for any mesh element.

Definition at line 32 of file IntegrationMethodProvider.h.

#include <IntegrationMethodProvider.h>

Collaboration diagram for NumLib::DefaultIntegrationMethodProvider:
[legend]

Public Member Functions

 DefaultIntegrationMethodProvider (IntegrationOrder const integration_order)
 
template<typename MeshElement >
GenericIntegrationMethod const & getIntegrationMethod (MeshLib::Element const &) const
 

Private Attributes

IntegrationOrder integration_order_
 

Constructor & Destructor Documentation

◆ DefaultIntegrationMethodProvider()

NumLib::DefaultIntegrationMethodProvider::DefaultIntegrationMethodProvider ( IntegrationOrder const integration_order)
inlineexplicit

Definition at line 35 of file IntegrationMethodProvider.h.

37 : integration_order_{integration_order}
38 {
39 }

Member Function Documentation

◆ getIntegrationMethod()

template<typename MeshElement >
GenericIntegrationMethod const & NumLib::DefaultIntegrationMethodProvider::getIntegrationMethod ( MeshLib::Element const & ) const
inline

Definition at line 42 of file IntegrationMethodProvider.h.

44 {
45 return IntegrationMethodRegistry::template getIntegrationMethod<
46 MeshElement>(integration_order_);
47 }
GenericIntegrationMethod const & getIntegrationMethod(MeshLib::Element const &) const

References getIntegrationMethod(), and integration_order_.

Referenced by getIntegrationMethod().

Member Data Documentation

◆ integration_order_

IntegrationOrder NumLib::DefaultIntegrationMethodProvider::integration_order_
private

Definition at line 50 of file IntegrationMethodProvider.h.

Referenced by getIntegrationMethod().


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