dune-localfunctions  2.6-git
Public Types | Public Member Functions | List of all members
Dune::MonomialFiniteElementFactory< Geometry, RF, p > Class Template Reference

Factory for global-valued MonomFiniteElement objects. More...

#include <dune/localfunctions/monomial.hh>

Inheritance diagram for Dune::MonomialFiniteElementFactory< Geometry, RF, p >:
Inheritance graph

Public Types

typedef ScalarLocalToGlobalFiniteElementAdaptor< LocalFE, Geometry > FiniteElement
 

Public Member Functions

template<class ForwardIterator >
 MonomialFiniteElementFactory (const ForwardIterator &begin, const ForwardIterator &end)
 construct a MonomialFiniteElementFactory from a list of GeometryType's More...
 
 MonomialFiniteElementFactory (const GeometryType &gt)
 construct a MonomialFiniteElementFactory from a single GeometryType More...
 
 MonomialFiniteElementFactory ()
 construct a MonomFiniteElementFactory for all applicable GeometryType's More...
 
const FiniteElement make (const Geometry &geometry)
 construct a global-valued MonomFiniteElement More...
 

Detailed Description

template<class Geometry, class RF, std::size_t p>
class Dune::MonomialFiniteElementFactory< Geometry, RF, p >

Factory for global-valued MonomFiniteElement objects.

Constructs MonomialFiniteElement objects given a geometry.

Template Parameters
GeometryGeometry for the local to global transformation.
RFField type of the range.
pOrder of the basis.
Note
There is no real MonomFiniteElement, only the FiniteElement typedef inside this class.

Member Typedef Documentation

◆ FiniteElement

template<class Geometry , class RF , std::size_t p>
typedef ScalarLocalToGlobalFiniteElementAdaptor<LocalFE, Geometry> Dune::MonomialFiniteElementFactory< Geometry, RF, p >::FiniteElement

Constructor & Destructor Documentation

◆ MonomialFiniteElementFactory() [1/3]

template<class Geometry , class RF , std::size_t p>
template<class ForwardIterator >
Dune::MonomialFiniteElementFactory< Geometry, RF, p >::MonomialFiniteElementFactory ( const ForwardIterator &  begin,
const ForwardIterator &  end 
)
inline

construct a MonomialFiniteElementFactory from a list of GeometryType's

Parameters
beginBegin of a range of geometry types.
endEnd of a range of geometry types.

◆ MonomialFiniteElementFactory() [2/3]

template<class Geometry , class RF , std::size_t p>
Dune::MonomialFiniteElementFactory< Geometry, RF, p >::MonomialFiniteElementFactory ( const GeometryType &  gt)
inline

construct a MonomialFiniteElementFactory from a single GeometryType

Parameters
gtGeometryType to construct elements with

◆ MonomialFiniteElementFactory() [3/3]

template<class Geometry , class RF , std::size_t p>
Dune::MonomialFiniteElementFactory< Geometry, RF, p >::MonomialFiniteElementFactory ( )
inline

construct a MonomFiniteElementFactory for all applicable GeometryType's

Note
This constructor only works for dimensions up to and including 3.

Member Function Documentation

◆ make() [1/6]

template<class Geometry , class VertexOrder >
const FiniteElement Dune::FiniteElementFactoryInterface< Geometry, VertexOrder >::make (   ...)
inherited

create a finite element

◆ make() [2/6]

template<class Geometry , class VertexOrder >
const FiniteElement Dune::FiniteElementFactoryInterface< Geometry, VertexOrder >::make ( const Geometry &  ,
const VertexOrder &  ,
  ... 
)
inherited

create a finite element from a geometry and a vertex ordering

◆ make() [3/6]

template<class Geometry , class VertexOrder >
const FiniteElement Dune::FiniteElementFactoryInterface< Geometry, VertexOrder >::make ( const Geometry &  ,
  ... 
)
inherited

create a finite element from a geometry

◆ make() [4/6]

template<class Geometry , class RF , std::size_t p>
const FiniteElement Dune::MonomialFiniteElementFactory< Geometry, RF, p >::make ( const Geometry &  geometry)
inline

construct a global-valued MonomFiniteElement

Parameters
geometryThe geometry object to use for adaption.
Note
The returned object stores the reference to the geometry passed here as well as references to internal data of this factory. Any use of the returned value after the geometry reference or the factory object was become invalid results in undefined behaviour. The exception is that the destructor of the returned value may still be called.

◆ make() [5/6]

template<class Geometry , class VertexOrder >
const FiniteElement Dune::FiniteElementFactoryInterface< Geometry, VertexOrder >::make ( const GeometryType &  ,
  ... 
)
inherited

create a finite element from a geometry type

Note
This signature should only be used when only the geometry type but not the full geometry or vertex ordering are needed.

◆ make() [6/6]

template<class Geometry , class VertexOrder >
const FiniteElement Dune::FiniteElementFactoryInterface< Geometry, VertexOrder >::make ( const VertexOrder &  ,
  ... 
)
inherited

create a finite element from a vertex ordering


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