AMDiS  0.3
The Adaptive Multi-Dimensional Simulation Toolbox
QuadFactoryFromOrder< ctype, dim, LocalFunction > Class Template Reference

Factory for quadrature rule, that takes to order of the localFunction and a quadrature-type. More...

#include <QuadratureFactory.hpp>

Inherits QuadratureFactory< ctype, dim, LocalFunction >.

Public Member Functions

 QuadFactoryFromOrder (int order, Dune::QuadratureType::Enum qt)
 Constructor. Takes the order of the localCoefficient and a quadrature-type.
 
int order () const final
 Return the quadrature order of the coefficient relates to the localFunction.
 
QuadratureRule const & rule (Dune::GeometryType const &type, int degree) const final
 
- Public Member Functions inherited from QuadratureFactory< ctype, dim, LocalFunction >
virtual void bind (LocalFunction const &localFct)
 Bind the rule to a localFunction.
 

Related Functions

(Note that these are not member functions.)

template<class ctype , int dim, class LocalFunction >
auto makeQuadratureFactory (PreQuadFactoryFromOrder const &pre)
 Generator for QuadFactoryFromOrder. More...
 

Additional Inherited Members

- Protected Types inherited from QuadratureFactory< ctype, dim, LocalFunction >
using QuadratureRule = Dune::QuadratureRule< ctype, dim >
 

Detailed Description

template<class ctype, int dim, class LocalFunction>
class AMDiS::QuadFactoryFromOrder< ctype, dim, LocalFunction >

Factory for quadrature rule, that takes to order of the localFunction and a quadrature-type.

Member Function Documentation

◆ rule()

QuadratureRule const& rule ( Dune::GeometryType const &  type,
int  degree 
) const
inlinefinalvirtual

Construct a quadrature rule, based on the local geometry-type and the polynomial degree of the integrand function.

Reimplemented from QuadratureFactory< ctype, dim, LocalFunction >.

Friends And Related Function Documentation

◆ makeQuadratureFactory()

auto makeQuadratureFactory ( PreQuadFactoryFromOrder< ctype, dim, LocalFunction > const &  pre)
related

Generator for QuadFactoryFromOrder.


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