|
| using | ctype = typename LocalBasisTraits::DomainFieldType |
| | coordinate type More...
|
| |
| using | LocalCoordinate = FieldVector< ctype, mydimension > |
| | type of local coordinates More...
|
| |
| using | GlobalCoordinate = FieldVector< ctype, coorddimension > |
| | type of global coordinates More...
|
| |
| using | Volume = decltype(power(std::declval< ctype >(), mydimension)) |
| | type of volume More...
|
| |
| using | Jacobian = FieldMatrix< ctype, coorddimension, mydimension > |
| | type of jacobian More...
|
| |
| using | JacobianTransposed = FieldMatrix< ctype, mydimension, coorddimension > |
| | type of jacobian transposed More...
|
| |
| using | JacobianInverse = FieldMatrix< ctype, mydimension, coorddimension > |
| | type of jacobian inverse More...
|
| |
| using | JacobianInverseTransposed = FieldMatrix< ctype, coorddimension, mydimension > |
| | type of jacobian inverse transposed More...
|
| |
| using | ReferenceElements = Dune::ReferenceElements< ctype, mydimension > |
| | type of reference element More...
|
| |
| using | ReferenceElement = typename ReferenceElements::ReferenceElement |
| |
|
| | LocalFiniteElementGeometry ()=default |
| | Default constructed geometry results in an empty/invalid representation. More...
|
| |
| | LocalFiniteElementGeometry (const ReferenceElement &refElement, const LocalFiniteElement &localFE, std::vector< GlobalCoordinate > vertices) |
| | Constructor from a vector of coefficients of the LocalBasis parametrizing the geometry. More...
|
| |
| template<class Param , std::enable_if_t< std::is_invocable_r_v< GlobalCoordinate, Param, LocalCoordinate >, int > = 0> |
| | LocalFiniteElementGeometry (const ReferenceElement &refElement, const LocalFiniteElement &localFE, Param &¶metrization) |
| | Constructor from a local parametrization function, mapping local to (curved) global coordinates. More...
|
| |
| template<class... Args> |
| | LocalFiniteElementGeometry (GeometryType gt, Args &&... args) |
| | Constructor, forwarding to the other constructors that take a reference-element. More...
|
| |
| int | order () const |
| | Obtain the (highest) polynomial order of the parametrization. More...
|
| |
| bool | affine () const |
| | Is this mapping affine? Geometries of order 1 might be affine, but it needs to be checked on non-simplex geometries. More...
|
| |
| GeometryType | type () const |
| | Obtain the name of the reference element. More...
|
| |
| int | corners () const |
| | Obtain number of corners of the corresponding reference element. More...
|
| |
| GlobalCoordinate | corner (int i) const |
| | Obtain coordinates of the i-th corner. More...
|
| |
| GlobalCoordinate | center () const |
| | Obtain the centroid of the mapping's image. More...
|
| |
| GlobalCoordinate | global (const LocalCoordinate &local) const |
| | Evaluate the coordinate mapping. More...
|
| |
| LocalCoordinate | local (const GlobalCoordinate &y, Impl::GaussNewtonOptions< ctype > opts={}) const |
| | Evaluate the inverse coordinate mapping. More...
|
| |
| ctype | integrationElement (const LocalCoordinate &local) const |
| | Obtain the integration element. More...
|
| |
| Volume | volume (Impl::ConvergenceOptions< ctype > opts={}) const |
| | Obtain the volume of the mapping's image. More...
|
| |
| Volume | volume (const QuadratureRule< ctype, mydimension > &quadRule) const |
| | Obtain the volume of the mapping's image by given quadrature rules. More...
|
| |
| Jacobian | jacobian (const LocalCoordinate &local) const |
| | Obtain the Jacobian. More...
|
| |
| JacobianTransposed | jacobianTransposed (const LocalCoordinate &local) const |
| | Obtain the transposed of the Jacobian. More...
|
| |
| JacobianInverse | jacobianInverse (const LocalCoordinate &local) const |
| | Obtain the Jacobian's inverse. More...
|
| |
| JacobianInverseTransposed | jacobianInverseTransposed (const LocalCoordinate &local) const |
| | Obtain the transposed of the Jacobian's inverse. More...
|
| |
| const LocalFiniteElement & | finiteElement () const |
| | Obtain the local finite-element. More...
|
| |
| const std::vector< GlobalCoordinate > & | coefficients () const |
| | Obtain the coefficients of the parametrization. More...
|
| |
| const LocalBasis & | localBasis () const |
| | The local basis of the stored local finite-element. More...
|
| |
template<class LFE, int cdim>
class Dune::LocalFiniteElementGeometry< LFE, cdim >
Geometry implementation based on local-basis function parametrization.
Parametrization of the geometry by any localfunction interpolated into a local finite-element space.
- Template Parameters
-
| LFE | Type of a local finite-element. |
| cdim | Coordinate dimension. |
template<class LFE , int cdim>
template<class Param , std::enable_if_t< std::is_invocable_r_v< GlobalCoordinate, Param, LocalCoordinate >, int > = 0>
Constructor from a local parametrization function, mapping local to (curved) global coordinates.
- Parameters
-
| [in] | refElement | reference element for the geometry |
| [in] | localFE | Local finite-element to use for the parametrization |
| [in] | parametrization | parametrization function with signature GlobalCoordinate(LocalCoordinate) |
The parametrization function is not stored in the class, but interpolated into the local finite-element basis and the computed interpolation coefficients are stored.
template<class LFE , int cdim>
Obtain the volume of the mapping's image.
Calculates the volume of the entity by numerical integration. Since the polynomial order of the volume element is not known, iteratively compute numerical integrals with increasing order of the quadrature rules, until tolerance is reached.
- Parameters
-
| opts | An optional control over the convergence, providing a break tolerance and a maximal iteration count. |