DUNE PDELab (2.8)
Factory for ScalarLocalToGlobalFiniteElementAdaptor objects. More...
#include <dune/localfunctions/common/localtoglobaladaptors.hh>
Public Member Functions | |
ScalarLocalToGlobalFiniteElementAdaptorFactory (const LocalFiniteElement &localFE_) | |
construct a ScalarLocalToGlobalFiniteElementAdaptorFactory More... | |
const FiniteElement | make (const Geometry &geometry) |
construct ScalarLocalToGlobalFiniteElementAdaptor More... | |
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 More... | |
const FiniteElement | make (...) |
create a finite element | |
Detailed Description
class Dune::ScalarLocalToGlobalFiniteElementAdaptorFactory< LocalFiniteElement, Geometry >
Factory for ScalarLocalToGlobalFiniteElementAdaptor objects.
Constructs ScalarLocalToGlobalFiniteElementAdaptor objects given a local finite element object and a geometry. This class is restricted to one base variant of the local finite element.
- Template Parameters
-
LocalFiniteElement Type of the local finite element to adapt. Geometry Type of the local-to-global transformation.
Constructor & Destructor Documentation
◆ ScalarLocalToGlobalFiniteElementAdaptorFactory()
|
inline |
construct a ScalarLocalToGlobalFiniteElementAdaptorFactory
- Parameters
-
localFE_ The local finite element object to adapt.
- Note
- This class stores the reference to the local finite element object passed here. Any use of this class after this reference has become invalid results in undefined behaviour. The exception is that the destructor of this class may still be called.
Member Function Documentation
◆ make() [1/2]
|
inline |
construct ScalarLocalToGlobalFiniteElementAdaptor
- Parameters
-
geometry The 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() [2/2]
|
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.
The documentation for this class was generated from the following file:
- dune/localfunctions/common/localtoglobaladaptors.hh