dune-localfunctions
2.2.0
|
Factory for Pk2DFiniteElement objects. More...
#include <dune/localfunctions/lagrange/pk2d.hh>
Public Types | |
typedef Pk2DFiniteElement < Geometry, RF, k > | FiniteElement |
Type of the finite element. | |
Public Member Functions | |
template<class VertexOrder > | |
const FiniteElement | make (const Geometry &geometry, const VertexOrder &vertexOrder) |
construct Pk2DFiniteElementFactory | |
Finite element creation methods | |
Each finite element factory implementation must provide at least one of these methods. The signatures may be extended by additional parameters, but the parameters that are specified here should be given first and in the order specified here. The return value of these functions is suitable for binding to a const reference -- it will either be an rvalue (in which case binding to a const reference will create a copy whose lifetime is the same as the reference itself), or it will be an lvalue (in which case the factory must guarantee that it will be valid until the factory is destroyed or something else happens that explicitly invalidates all created finite elements). In any case, since global-valued finite element objects are copy-constructible, it is also possible to use the returned value to initialize a finite element object instead of a const reference. | |
const FiniteElement | make (const Geometry &, const VertexOrder &,...) |
create a finite element from a geometry and a vertex ordering | |
const FiniteElement | make (const Geometry &,...) |
create a finite element from a geometry | |
const FiniteElement | make (const VertexOrder &,...) |
create a finite element from a vertex ordering | |
const FiniteElement | make (const GeometryType &,...) |
create a finite element from a geometry type | |
const FiniteElement | make (...) |
create a finite element |
Factory for Pk2DFiniteElement objects.
Constructs Pk2DFiniteElement objects given a geometry and a vertex ordering.
Geometry | Geometry for the local to global transformation. |
RF | Field type of the range. |
k | Maximum polynomial order of the base functions. |
typedef Pk2DFiniteElement<Geometry, RF, k> Dune::Pk2DFiniteElementFactory< Geometry, RF, k >::FiniteElement |
Type of the finite element.
Should be an implementation of FiniteElementIterface
Reimplemented from Dune::FiniteElementFactoryInterface< Geometry, VertexOrder >.
const FiniteElement Dune::FiniteElementFactoryInterface< Geometry, VertexOrder >::make | ( | const Geometry & | , |
const VertexOrder & | , | ||
... | |||
) | [inherited] |
create a finite element from a geometry and a vertex ordering
const FiniteElement Dune::FiniteElementFactoryInterface< Geometry, VertexOrder >::make | ( | const Geometry & | , |
... | |||
) | [inherited] |
create a finite element from a geometry
const FiniteElement Dune::FiniteElementFactoryInterface< Geometry, VertexOrder >::make | ( | const VertexOrder & | , |
... | |||
) | [inherited] |
create a finite element from a vertex ordering
const FiniteElement Dune::FiniteElementFactoryInterface< Geometry, VertexOrder >::make | ( | const GeometryType & | , |
... | |||
) | [inherited] |
create a finite element from a geometry type
const FiniteElement Dune::FiniteElementFactoryInterface< Geometry, VertexOrder >::make | ( | ... | ) | [inherited] |
create a finite element
const FiniteElement Dune::Pk2DFiniteElementFactory< Geometry, RF, k >::make | ( | const Geometry & | geometry, |
const VertexOrder & | vertexOrder | ||
) | [inline] |
construct Pk2DFiniteElementFactory
geometry | The geometry object to use for adaption. |
vertexOrder | The global ordering of the vertices within the grid, used to determine orientation of the edges. This vertexOrder object must support codim=0. |