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

Factory for quadrature rule, that is based on an existing rule. More...

#include <QuadratureFactory.hpp>

Inherits QuadratureFactory< ctype, dim, LocalFunction >.

Public Member Functions

 QuadFactoryFromRule (QuadratureRule const &rule)
 
QuadratureRule const & rule (Dune::GeometryType const &, int) const final
 
- Public Member Functions inherited from QuadratureFactory< ctype, dim, LocalFunction >
virtual void bind (LocalFunction const &localFct)
 Bind the rule to a localFunction.
 
virtual int order () const
 Return the quadrature order of the coefficient relates to the localFunction.
 

Related Functions

(Note that these are not member functions.)

template<class ctype , int dim, class LocalFunction , class QuadRule >
auto makeQuadratureFactory (PreQuadFactoryFromRule< QuadRule > const &pre)
 Generator for QuadFactoryFromRule. 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::QuadFactoryFromRule< ctype, dim, LocalFunction >

Factory for quadrature rule, that is based on an existing rule.

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 ( PreQuadFactoryFromRule< QuadRule > const &  pre)
related

Generator for QuadFactoryFromRule.


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