Dune-Fufem 2.11-git
Loading...
Searching...
No Matches
Dune::Fufem::SubEntityQuadratureRule< ct, dim, codim > Class Template Reference

Quadrature rule for a subentity of some given geometry type. More...

#include <dune/fufem/quadraturerules/subentityquadraturerule.hh>

Inheritance diagram for Dune::Fufem::SubEntityQuadratureRule< ct, dim, codim >:
Inheritance graph

Public Types

typedef ct CoordType
 
typedef std::vector< QuadraturePoint< ct, dim > >::const_iterator iterator
 

Public Member Functions

 SubEntityQuadratureRule (Dune::GeometryType gt, std::size_t subEntityIndex, const Dune::QuadratureRule< ct, dim-codim > &rule)
 Create SubEntityQuadratureRule for entity of given GeometryType.
 
const Dune::QuadratureRule< ct, dim-1 > & subEntityRule () const
 
virtual int order () const
 
virtual GeometryType type () const
 

Static Public Attributes

static constexpr int d
 

Protected Attributes

const Dune::QuadratureRule< ct, dim-1 > * subEntityRule_
 
GeometryType geometry_type
 
int delivered_order
 

Detailed Description

template<class ct, int dim, int codim>
class Dune::Fufem::SubEntityQuadratureRule< ct, dim, codim >

Quadrature rule for a subentity of some given geometry type.

Wrap a quadrature rule for a subentity with smaller dimension as quadrature rule on an entity/element, by mapping quadrature points from local subentity coordinates to local entity coordinates.

Although this rule looks like a quadrature rule on the entity it does in fact integrate over the subentity. This e.g. has the advantage, that integration over faces can use the same infrastructure as integration over entities for caching.

Constructor & Destructor Documentation

◆ SubEntityQuadratureRule()

template<class ct , int dim, int codim>
Dune::Fufem::SubEntityQuadratureRule< ct, dim, codim >::SubEntityQuadratureRule ( Dune::GeometryType  gt,
std::size_t  subEntityIndex,
const Dune::QuadratureRule< ct, dim-codim > &  rule 
)
inline

Create SubEntityQuadratureRule for entity of given GeometryType.

Parameters
gtGeometryType of the entity the rule is defined on
subEntityIndexIndex of codim subentity that the rule should integrate
ruleA (dim-codim)-dimensional rule on the subEntityIndex-th subentity of codimension codim

Member Function Documentation

◆ subEntityRule()

template<class ct , int dim, int codim>
const Dune::QuadratureRule< ct, dim-1 > & Dune::Fufem::SubEntityQuadratureRule< ct, dim, codim >::subEntityRule ( ) const
inline

Member Data Documentation

◆ subEntityRule_

template<class ct , int dim, int codim>
const Dune::QuadratureRule<ct, dim-1>* Dune::Fufem::SubEntityQuadratureRule< ct, dim, codim >::subEntityRule_
protected

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