dune-geometry
2.2.1
|
#include <dune/geometry/genericgeometry/hybridmapping.hh>
Classes | |
struct | Codim |
Public Types | |
typedef Traits::FieldType | FieldType |
typedef Traits::LocalCoordinate | LocalCoordinate |
typedef Traits::GlobalCoordinate | GlobalCoordinate |
typedef Base::JacobianTransposed | JacobianTransposed |
typedef Base::JacobianInverseTransposed | JacobianInverseTransposed |
typedef Mapping::ReferenceElement | ReferenceElement |
typedef GeometryTraits::Caching | Caching |
typedef GeometryTraits::UserData | UserData |
Public Member Functions | |
template<class CoordVector > | |
VirtualMapping (const CoordVector &coordVector) | |
virtual bool | affine () const |
is this mapping affine? | |
virtual Dune::GeometryType | type () const |
obtain the name of the reference element | |
virtual int | numCorners () const |
obtain number of corners of the corresponding reference element | |
virtual GlobalCoordinate | corner (int i) const |
obtain coordinates of the i-th corner | |
virtual GlobalCoordinate | center () const |
obtain the centroid of the mapping's image | |
virtual GlobalCoordinate | global (const LocalCoordinate &local) const |
evaluate the mapping | |
virtual LocalCoordinate | local (const GlobalCoordinate &global) const |
evaluate the inverse mapping | |
virtual bool | checkInside (const LocalCoordinate &local) const |
check whether a point lies within the reference element | |
virtual FieldType | integrationElement (const LocalCoordinate &local) const |
obtain the integration element | |
virtual FieldType | volume () const |
obtain the volume of the mapping's image | |
virtual const JacobianTransposed & | jacobianTransposed (const LocalCoordinate &local) const |
obtain the transposed of the Jacobian | |
virtual const JacobianInverseTransposed & | jacobianInverseTransposed (const LocalCoordinate &local) const |
obtain the transposed of the Jacobian's inverse | |
virtual Base * | clone () const |
virtual Base * | clone (char *mappingStorage) const |
template<int codim> | |
Codim< codim >::Trace * | trace (unsigned int i, char *mappingStorage) const |
unsigned int | topologyId () const |
const UserData & | userData () const |
UserData & | userData () |
Static Public Attributes | |
static const unsigned int | dimension = Traits::dimension |
static const unsigned int | dimWorld = Traits::dimWorld |
typedef GeometryTraits::Caching Dune::GenericGeometry::VirtualMapping< Topology, GeometryTraits >::Caching |
typedef Traits::FieldType Dune::GenericGeometry::VirtualMapping< Topology, GeometryTraits >::FieldType |
typedef Traits::GlobalCoordinate Dune::GenericGeometry::VirtualMapping< Topology, GeometryTraits >::GlobalCoordinate |
typedef Base::JacobianInverseTransposed Dune::GenericGeometry::VirtualMapping< Topology, GeometryTraits >::JacobianInverseTransposed |
typedef Base::JacobianTransposed Dune::GenericGeometry::VirtualMapping< Topology, GeometryTraits >::JacobianTransposed |
typedef Traits::LocalCoordinate Dune::GenericGeometry::VirtualMapping< Topology, GeometryTraits >::LocalCoordinate |
typedef Mapping::ReferenceElement Dune::GenericGeometry::VirtualMapping< Topology, GeometryTraits >::ReferenceElement |
|
inherited |
|
inlineexplicit |
|
inlinevirtual |
is this mapping affine?
Implements Dune::GenericGeometry::HybridMapping< Topology::dimension, GeometryTraits >.
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::affine().
|
inlinevirtual |
obtain the centroid of the mapping's image
Implements Dune::GenericGeometry::HybridMapping< Topology::dimension, GeometryTraits >.
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::center().
|
inlinevirtual |
check whether a point lies within the reference element
[in] | x | local coordinate of point to check |
Implements Dune::GenericGeometry::HybridMapping< Topology::dimension, GeometryTraits >.
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::checkInside().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
obtain coordinates of the i-th corner
Implements Dune::GenericGeometry::HybridMapping< Topology::dimension, GeometryTraits >.
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::corner().
|
inlinevirtual |
evaluate the mapping
[in] | x | local coordinate to map |
Implements Dune::GenericGeometry::HybridMapping< Topology::dimension, GeometryTraits >.
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::global().
|
inlinevirtual |
obtain the integration element
If the Jacobian of the mapping is denoted by $J(x)$, the integration integration element is given by
[in] | x | local coordinate to evaluate the integration element in |
Implements Dune::GenericGeometry::HybridMapping< Topology::dimension, GeometryTraits >.
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::integrationElement().
|
inlinevirtual |
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:
Implements Dune::GenericGeometry::HybridMapping< Topology::dimension, GeometryTraits >.
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::jacobianInverseTransposed().
|
inlinevirtual |
obtain the transposed of the Jacobian
[in] | x | local coordinate to evaluate Jacobian in |
Implements Dune::GenericGeometry::HybridMapping< Topology::dimension, GeometryTraits >.
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::jacobianTransposed().
|
inlinevirtual |
evaluate the inverse mapping
[in] | y | global coordinate to map |
Implements Dune::GenericGeometry::HybridMapping< Topology::dimension, GeometryTraits >.
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::local().
|
inlinevirtual |
obtain number of corners of the corresponding reference element
Implements Dune::GenericGeometry::HybridMapping< Topology::dimension, GeometryTraits >.
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::numCorners().
|
inlineinherited |
|
inline |
|
inlinevirtual |
obtain the name of the reference element
Implements Dune::GenericGeometry::HybridMapping< Topology::dimension, GeometryTraits >.
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::type().
|
inlineinherited |
|
inlineinherited |
|
inlinevirtual |
obtain the volume of the mapping's image
Implements Dune::GenericGeometry::HybridMapping< Topology::dimension, GeometryTraits >.
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::volume().
|
static |
|
static |