dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | Related Functions | List of all members
Dune::Fem::QuadraturePointWrapper< Quadrature > Class Template Reference

wrapper for a (Quadrature,int) pair More...

#include <dune/fem/quadrature/quadrature.hh>

Public Types

typedef Quadrature QuadratureType
 
typedef QuadratureType::CoordinateType CoordinateType
 
typedef QuadratureType::RealType RealType
 
typedef QuadratureType::LocalCoordinateType LocalCoordinateType
 

Public Member Functions

 QuadraturePointWrapper (const QuadratureType &quadrature, unsigned int index)
 
ThisTypeoperator= (const ThisType &)=delete
 
const QuadratureTypequadrature () const
 
unsigned int index () const
 
const CoordinateTypeposition () const
 
const RealTypeweight () const
 
const LocalCoordinateTypelocalPosition () const
 

Protected Attributes

const QuadratureTypequadrature_
 
const unsigned int index_
 

Related Functions

(Note that these are not member functions.)

template<class Quadrature >
static Quadrature::CoordinateType coordinate (const QuadraturePointWrapper< Quadrature > &x)
 extract the real coordinate from a point
 

Detailed Description

template<class Quadrature>
class Dune::Fem::QuadraturePointWrapper< Quadrature >

wrapper for a (Quadrature,int) pair

Member Typedef Documentation

◆ CoordinateType

◆ LocalCoordinateType

template<class Quadrature >
typedef QuadratureType::LocalCoordinateType Dune::Fem::QuadraturePointWrapper< Quadrature >::LocalCoordinateType

◆ QuadratureType

template<class Quadrature >
typedef Quadrature Dune::Fem::QuadraturePointWrapper< Quadrature >::QuadratureType

◆ RealType

template<class Quadrature >
typedef QuadratureType::RealType Dune::Fem::QuadraturePointWrapper< Quadrature >::RealType

Constructor & Destructor Documentation

◆ QuadraturePointWrapper()

template<class Quadrature >
Dune::Fem::QuadraturePointWrapper< Quadrature >::QuadraturePointWrapper ( const QuadratureType quadrature,
unsigned int  index 
)
inline

Member Function Documentation

◆ index()

template<class Quadrature >
unsigned int Dune::Fem::QuadraturePointWrapper< Quadrature >::index ( ) const
inline

◆ localPosition()

template<class Quadrature >
const LocalCoordinateType & Dune::Fem::QuadraturePointWrapper< Quadrature >::localPosition ( ) const
inline

◆ operator=()

template<class Quadrature >
ThisType & Dune::Fem::QuadraturePointWrapper< Quadrature >::operator= ( const ThisType )
delete

◆ position()

template<class Quadrature >
const CoordinateType & Dune::Fem::QuadraturePointWrapper< Quadrature >::position ( ) const
inline

◆ quadrature()

template<class Quadrature >
const QuadratureType & Dune::Fem::QuadraturePointWrapper< Quadrature >::quadrature ( ) const
inline

◆ weight()

template<class Quadrature >
const RealType & Dune::Fem::QuadraturePointWrapper< Quadrature >::weight ( ) const
inline

Friends And Related Function Documentation

◆ coordinate()

template<class Quadrature >
static Quadrature::CoordinateType coordinate ( const QuadraturePointWrapper< Quadrature > &  x)
related

extract the real coordinate from a point

This function unwraps a possibly wrapped quadrature point. If the point is not a wrapped quadrature point, the point itself is returned. This makes it possible to have one evaluation method for the two different kinds of evaluation points.

Parameters
[in]xpossibly wrapped point
Returns
a reference to the actual point

Member Data Documentation

◆ index_

template<class Quadrature >
const unsigned int Dune::Fem::QuadraturePointWrapper< Quadrature >::index_
protected

◆ quadrature_

template<class Quadrature >
const QuadratureType& Dune::Fem::QuadraturePointWrapper< Quadrature >::quadrature_
protected

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