dune-geometry  2.4
Public Types | Public Member Functions | Protected Attributes | List of all members
Dune::QuadraturePoint< ct, dim > Class Template Reference

Single evaluation point in a quadrature rule. More...

#include <dune/geometry/quadraturerules.hh>

Public Types

enum  { dimension = dim }
 Dimension of the integration domain. More...
 
typedef ct Field
 Number type used for coordinates and quadrature weights. More...
 
typedef Dune::FieldVector< ct, dim > Vector
 Type used for the position of a quadrature point. More...
 

Public Member Functions

 QuadraturePoint (const Vector &x, ct w)
 set up quadrature of given order in d dimensions More...
 
const Vectorposition () const
 return local coordinates of integration point i More...
 
const ct & weight () const
 return weight associated with integration point i More...
 

Protected Attributes

FieldVector< ct, dim > local
 
ct weight_
 

Detailed Description

template<typename ct, int dim>
class Dune::QuadraturePoint< ct, dim >

Single evaluation point in a quadrature rule.

Template Parameters
ctNumber type used for both coordinates and the weights
dimDimension of the integration domain

Member Typedef Documentation

template<typename ct , int dim>
typedef ct Dune::QuadraturePoint< ct, dim >::Field

Number type used for coordinates and quadrature weights.

template<typename ct , int dim>
typedef Dune::FieldVector<ct,dim> Dune::QuadraturePoint< ct, dim >::Vector

Type used for the position of a quadrature point.

Constructor & Destructor Documentation

template<typename ct , int dim>
Dune::QuadraturePoint< ct, dim >::QuadraturePoint ( const Vector x,
ct  w 
)
inline

set up quadrature of given order in d dimensions

References Dune::QuadraturePoint< ct, dim >::weight_.

Member Function Documentation

template<typename ct , int dim>
const Vector& Dune::QuadraturePoint< ct, dim >::position ( ) const
inline

return local coordinates of integration point i

References Dune::QuadraturePoint< ct, dim >::local.

template<typename ct , int dim>
const ct& Dune::QuadraturePoint< ct, dim >::weight ( ) const
inline

return weight associated with integration point i

References Dune::QuadraturePoint< ct, dim >::weight_.

Member Data Documentation

template<typename ct , int dim>
FieldVector<ct, dim> Dune::QuadraturePoint< ct, dim >::local
protected
template<typename ct , int dim>
ct Dune::QuadraturePoint< ct, dim >::weight_
protected

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