DUNE Geometry (2.10)
localfiniteelementgeometry.hh
3// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
232 LocalCoordinate local (const GlobalCoordinate& y, Impl::GaussNewtonOptions<ctype> opts = {}) const
243 "Local coordinate can not be recovered from global coordinate, error code = " << int(err) << "\n"
An implementation of the Geometry interface for affine geometries.
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:114
constexpr bool isSimplex() const
Return true if entity is a simplex of any dimension.
Definition: type.hh:319
Geometry implementation based on local-basis function parametrization.
Definition: localfiniteelementgeometry.hh:40
GeometryType type() const
Obtain the name of the reference element.
Definition: localfiniteelementgeometry.hh:167
decltype(power(std::declval< ctype >(), mydimension)) Volume
type of volume
Definition: localfiniteelementgeometry.hh:62
LocalFiniteElementGeometry(const ReferenceElement &refElement, const LocalFiniteElement &localFE, std::vector< GlobalCoordinate > vertices)
Constructor from a vector of coefficients of the LocalBasis parametrizing the geometry.
Definition: localfiniteelementgeometry.hh:103
JacobianTransposed jacobianTransposed(const LocalCoordinate &local) const
Obtain the transposed of the Jacobian.
Definition: localfiniteelementgeometry.hh:327
const LocalBasis & localBasis() const
The local basis of the stored local finite-element.
Definition: localfiniteelementgeometry.hh:377
typename LocalBasisTraits::DomainFieldType ctype
coordinate type
Definition: localfiniteelementgeometry.hh:47
JacobianInverseTransposed jacobianInverseTransposed(const LocalCoordinate &local) const
Obtain the transposed of the Jacobian's inverse.
Definition: localfiniteelementgeometry.hh:353
friend ReferenceElement referenceElement(const LocalFiniteElementGeometry &geometry)
Obtain the reference-element related to this geometry.
Definition: localfiniteelementgeometry.hh:359
LocalFiniteElementGeometry()=default
Default constructed geometry results in an empty/invalid representation.
bool affine() const
Is this mapping affine? Geometries of order 1 might be affine, but it needs to be checked on non-simp...
Definition: localfiniteelementgeometry.hh:159
Jacobian jacobian(const LocalCoordinate &local) const
Obtain the Jacobian.
Definition: localfiniteelementgeometry.hh:307
Volume volume(const QuadratureRule< ctype, mydimension > &quadRule) const
Obtain the volume of the mapping's image by given quadrature rules.
Definition: localfiniteelementgeometry.hh:294
const std::vector< GlobalCoordinate > & coefficients() const
Obtain the coefficients of the parametrization.
Definition: localfiniteelementgeometry.hh:371
LocalFiniteElementGeometry(GeometryType gt, Args &&... args)
Constructor, forwarding to the other constructors that take a reference-element.
Definition: localfiniteelementgeometry.hh:144
static const int coorddimension
coordinate dimension
Definition: localfiniteelementgeometry.hh:53
int corners() const
Obtain number of corners of the corresponding reference element.
Definition: localfiniteelementgeometry.hh:173
GlobalCoordinate center() const
Obtain the centroid of the mapping's image.
Definition: localfiniteelementgeometry.hh:186
const LocalFiniteElement & finiteElement() const
Obtain the local finite-element.
Definition: localfiniteelementgeometry.hh:365
GlobalCoordinate global(const LocalCoordinate &local) const
Evaluate the coordinate mapping.
Definition: localfiniteelementgeometry.hh:202
GlobalCoordinate corner(int i) const
Obtain coordinates of the i-th corner.
Definition: localfiniteelementgeometry.hh:179
Volume volume(Impl::ConvergenceOptions< ctype > opts={}) const
Obtain the volume of the mapping's image.
Definition: localfiniteelementgeometry.hh:276
static const int mydimension
geometry dimension
Definition: localfiniteelementgeometry.hh:50
JacobianInverse jacobianInverse(const LocalCoordinate &local) const
Obtain the Jacobian's inverse.
Definition: localfiniteelementgeometry.hh:339
FieldVector< ctype, coorddimension > GlobalCoordinate
type of global coordinates
Definition: localfiniteelementgeometry.hh:59
FieldMatrix< ctype, coorddimension, mydimension > Jacobian
type of jacobian
Definition: localfiniteelementgeometry.hh:65
FieldMatrix< ctype, coorddimension, mydimension > JacobianInverseTransposed
type of jacobian inverse transposed
Definition: localfiniteelementgeometry.hh:74
FieldMatrix< ctype, mydimension, coorddimension > JacobianInverse
type of jacobian inverse
Definition: localfiniteelementgeometry.hh:71
ctype integrationElement(const LocalCoordinate &local) const
Obtain the integration element.
Definition: localfiniteelementgeometry.hh:260
int order() const
Obtain the (highest) polynomial order of the parametrization.
Definition: localfiniteelementgeometry.hh:149
FieldVector< ctype, mydimension > LocalCoordinate
type of local coordinates
Definition: localfiniteelementgeometry.hh:56
FieldMatrix< ctype, mydimension, coorddimension > JacobianTransposed
type of jacobian transposed
Definition: localfiniteelementgeometry.hh:68
LocalFiniteElementGeometry(const ReferenceElement &refElement, const LocalFiniteElement &localFE, Param &¶metrization)
Constructor from a local parametrization function, mapping local to (curved) global coordinates.
Definition: localfiniteelementgeometry.hh:128
A container for all quadrature rules of dimension dim
Definition: quadraturerules.hh:260
constexpr GeometryType simplex(unsigned int dim)
Returns a GeometryType representing a simplex of dimension dim.
Definition: type.hh:453
STL namespace.
Class providing access to the singletons of the reference elements.
Definition: referenceelements.hh:128
typename Container::ReferenceElement ReferenceElement
The reference element type.
Definition: referenceelements.hh:146
A unique label for each type of element that can occur in a grid.
|
Legal Statements / Impressum |
Hosted by TU Dresden & Uni Heidelberg |
generated with Hugo v0.111.3
(May 27, 22:36, 2026)