|
dune-geometry
2.6-git
|
Implement a MultiLinearGeometry with additional caching. More...
#include <dune/geometry/multilineargeometry.hh>

Public Types | |
| typedef Base::ReferenceElement | ReferenceElement |
| typedef Base::ctype | ctype |
| typedef Base::LocalCoordinate | LocalCoordinate |
| typedef Base::GlobalCoordinate | GlobalCoordinate |
| typedef Base::JacobianTransposed | JacobianTransposed |
| typedef Base::JacobianInverseTransposed | JacobianInverseTransposed |
Public Member Functions | |
| template<class CornerStorage > | |
| CachedMultiLinearGeometry (const ReferenceElement &referenceElement, const CornerStorage &cornerStorage) | |
| template<class CornerStorage > | |
| CachedMultiLinearGeometry (Dune::GeometryType gt, const CornerStorage &cornerStorage) | |
| bool | affine () const |
| is this mapping affine? More... | |
| GlobalCoordinate | center () const |
| obtain the centroid of the mapping's image More... | |
| GlobalCoordinate | global (const LocalCoordinate &local) const |
| evaluate the mapping More... | |
| LocalCoordinate | local (const GlobalCoordinate &global) const |
| evaluate the inverse mapping More... | |
| ctype | integrationElement (const LocalCoordinate &local) const |
| obtain the integration element More... | |
| ctype | volume () const |
| obtain the volume of the mapping's image More... | |
| JacobianTransposed | jacobianTransposed (const LocalCoordinate &local) const |
| obtain the transposed of the Jacobian More... | |
| JacobianInverseTransposed | jacobianInverseTransposed (const LocalCoordinate &local) const |
| obtain the transposed of the Jacobian's inverse More... | |
| Dune::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... | |
Static Public Attributes | |
| static const int | mydimension = mydim |
| geometry dimension More... | |
| static const int | coorddimension = cdim |
| coordinate dimension More... | |
Protected Types | |
| typedef Base::MatrixHelper | MatrixHelper |
| typedef Dune::ReferenceElements< ctype, mydimension > | ReferenceElements |
| typedef std::conditional< hasSingleGeometryType, std::integral_constant< unsigned int, Traits::template hasSingleGeometryType< mydimension >::topologyId >, unsigned int >::type | TopologyId |
Protected Member Functions | |
| bool | affine (JacobianTransposed &jacobianT) const |
| ReferenceElement | refElement () const |
| TopologyId | topologyId () const |
Static Protected Member Functions | |
| template<int dim, class CornerIterator > | |
| static bool | affine (TopologyId topologyId, std::integral_constant< int, dim >, CornerIterator &cit, JacobianTransposed &jt) |
| template<class CornerIterator > | |
| static bool | affine (TopologyId topologyId, std::integral_constant< int, 0 >, CornerIterator &cit, JacobianTransposed &jt) |
| template<bool add, int dim, class CornerIterator > | |
| static void | global (TopologyId topologyId, std::integral_constant< int, dim >, CornerIterator &cit, const ctype &df, const LocalCoordinate &x, const ctype &rf, GlobalCoordinate &y) |
| template<bool add, class CornerIterator > | |
| static void | global (TopologyId topologyId, std::integral_constant< int, 0 >, CornerIterator &cit, const ctype &df, const LocalCoordinate &x, const ctype &rf, GlobalCoordinate &y) |
| template<bool add, int rows, int dim, class CornerIterator > | |
| static void | jacobianTransposed (TopologyId topologyId, std::integral_constant< int, dim >, CornerIterator &cit, const ctype &df, const LocalCoordinate &x, const ctype &rf, FieldMatrix< ctype, rows, cdim > &jt) |
| template<bool add, int rows, class CornerIterator > | |
| static void | jacobianTransposed (TopologyId topologyId, std::integral_constant< int, 0 >, CornerIterator &cit, const ctype &df, const LocalCoordinate &x, const ctype &rf, FieldMatrix< ctype, rows, cdim > &jt) |
Implement a MultiLinearGeometry with additional caching.
This class implements the same interface and functionality as MultiLinearGeometry. However, it additionally implements caching for various results.
| ct | coordinate type |
| mydim | geometry dimension |
| cdim | coordinate dimension |
| Traits | traits allowing to tweak some implementation details (optional) |
| typedef Base::ctype Dune::CachedMultiLinearGeometry< ct, mydim, cdim, Traits >::ctype |
| typedef Base::GlobalCoordinate Dune::CachedMultiLinearGeometry< ct, mydim, cdim, Traits >::GlobalCoordinate |
| typedef Base::JacobianInverseTransposed Dune::CachedMultiLinearGeometry< ct, mydim, cdim, Traits >::JacobianInverseTransposed |
| typedef Base::JacobianTransposed Dune::CachedMultiLinearGeometry< ct, mydim, cdim, Traits >::JacobianTransposed |
| typedef Base::LocalCoordinate Dune::CachedMultiLinearGeometry< ct, mydim, cdim, Traits >::LocalCoordinate |
|
protected |
| typedef Base::ReferenceElement Dune::CachedMultiLinearGeometry< ct, mydim, cdim, Traits >::ReferenceElement |
|
protectedinherited |
|
protectedinherited |
|
inline |
|
inline |
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlineprotectedinherited |
|
inline |
is this mapping affine?
|
inline |
obtain the centroid of the mapping's image
|
inlineinherited |
obtain coordinates of the i-th corner
|
inlineinherited |
obtain number of corners of the corresponding reference element
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inline |
evaluate the mapping
| [in] | local | local coordinate to map |
|
inline |
obtain the integration element
If the Jacobian of the mapping is denoted by $J(x)$, the integration integration element
is given by
| [in] | local | local coordinate to evaluate the integration element in |
.
|
inline |
obtain the transposed of the Jacobian's inverse
The Jacobian's inverse is defined as a pseudo-inverse. If we denote the Jacobian by
, the following condition holds:
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inline |
obtain the transposed of the Jacobian
| [in] | local | local coordinate to evaluate Jacobian in |
|
inline |
evaluate the inverse mapping
| [in] | global | global coordinate to map |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
obtain the name of the reference element
|
inline |
obtain the volume of the mapping's image
|
staticinherited |
coordinate dimension
|
staticinherited |
geometry dimension
1.8.13