DUNE-FEM (unstable)
Factory for global-valued Q1 elements. More...
#include <dune/localfunctions/lagrange/q1.hh>
Public Member Functions | |
Q1FiniteElementFactory () | |
default constructor | |
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::Q1FiniteElementFactory< Geometry, RF >
Factory for global-valued Q1 elements.
- Template Parameters
-
Geometry Type of the geometry. Used to extract the domain field type and the dimension. RF Range field type.
Member Function Documentation
◆ make() [1/2]
|
inlineinherited |
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/lagrange/q1.hh