dune-geometry
2.2.0
|
non-virtual geometric mapping More...
#include <dune/geometry/genericgeometry/hybridmapping.hh>
Classes | |
struct | Codim |
Public Types | |
typedef Traits::FieldType | FieldType |
typedef Traits::LocalCoordinate | LocalCoordinate |
typedef Traits::GlobalCoordinate | GlobalCoordinate |
typedef CachedJacobianTransposed < dimension, GeometryTraits > | JacobianTransposed |
typedef CachedJacobianInverseTransposed < dimension, GeometryTraits > | JacobianInverseTransposed |
typedef Mapping::ReferenceElement | ReferenceElement |
typedef GeometryTraits::Caching | Caching |
typedef GeometryTraits::UserData | UserData |
Public Member Functions | |
template<class CoordVector > | |
NonHybridMapping (const CoordVector &coordVector) | |
bool | affine () const |
is this mapping affine? | |
Dune::GeometryType | type () const |
obtain the name of the reference element | |
unsigned int | topologyId () const |
int | numCorners () const |
obtain number of corners of the corresponding reference element | |
GlobalCoordinate | corner (int i) const |
obtain coordinates of the i-th corner | |
GlobalCoordinate | center () const |
obtain the centroid of the mapping's image | |
GlobalCoordinate | global (const LocalCoordinate &local) const |
evaluate the mapping | |
LocalCoordinate | local (const GlobalCoordinate &global) const |
evaluate the inverse mapping | |
bool | checkInside (const LocalCoordinate &local) const |
check whether a point lies within the reference element | |
FieldType | integrationElement (const LocalCoordinate &local) const |
obtain the integration element | |
FieldType | volume () const |
obtain the volume of the mapping's image | |
const JacobianTransposed & | jacobianTransposed (const LocalCoordinate &local) const |
obtain the transposed of the Jacobian | |
const JacobianInverseTransposed & | jacobianInverseTransposed (const LocalCoordinate &local) const |
obtain the transposed of the Jacobian's inverse | |
This * | clone () const |
This * | clone (char *mappingStorage) const |
template<int codim> | |
Codim< codim >::Trace * | trace (unsigned int i, char *mappingStorage) const |
const UserData & | userData () const |
UserData & | userData () |
Static Public Attributes | |
static const unsigned int | dimension = Traits::dimension |
static const unsigned int | dimWorld = Traits::dimWorld |
Protected Types | |
typedef MappingTraits < typename GeometryTraits::CoordTraits, Topology::dimension, GeometryTraits::dimWorld > | Traits |
typedef CachedMapping < Topology, GeometryTraits > | Mapping |
non-virtual geometric mapping
This is the user-visible class of the generic geometries if the topology type for each codimension is unique.
typedef GeometryTraits::Caching Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::Caching |
typedef Traits::FieldType Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::FieldType |
typedef Traits::GlobalCoordinate Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::GlobalCoordinate |
typedef CachedJacobianInverseTransposed< dimension, GeometryTraits > Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::JacobianInverseTransposed |
typedef CachedJacobianTransposed< dimension, GeometryTraits > Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::JacobianTransposed |
typedef Traits::LocalCoordinate Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::LocalCoordinate |
typedef CachedMapping< Topology, GeometryTraits > Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::Mapping [protected] |
typedef Mapping::ReferenceElement Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::ReferenceElement |
typedef MappingTraits< typename GeometryTraits::CoordTraits, Topology::dimension, GeometryTraits::dimWorld > Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::Traits [protected] |
typedef GeometryTraits::UserData Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::UserData |
Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::NonHybridMapping | ( | const CoordVector & | coordVector | ) | [inline, explicit] |
bool Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::affine | ( | ) | const [inline] |
is this mapping affine?
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::affine().
GlobalCoordinate Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::center | ( | ) | const [inline] |
obtain the centroid of the mapping's image
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::center().
bool Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::checkInside | ( | const LocalCoordinate & | local | ) | const [inline] |
check whether a point lies within the reference element
[in] | local | local coordinate of point to check |
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::checkInside().
This* Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::clone | ( | ) | const [inline] |
This* Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::clone | ( | char * | mappingStorage | ) | const [inline] |
GlobalCoordinate Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::corner | ( | int | i | ) | const [inline] |
obtain coordinates of the i-th corner
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::corner().
GlobalCoordinate Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::global | ( | const LocalCoordinate & | local | ) | const [inline] |
evaluate the mapping
[in] | local | local coordinate to map |
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::global().
FieldType Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::integrationElement | ( | const LocalCoordinate & | local | ) | const [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 |
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::integrationElement().
const JacobianInverseTransposed& Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::jacobianInverseTransposed | ( | const LocalCoordinate & | local | ) | const [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:
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::jacobianInverseTransposed().
const JacobianTransposed& Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::jacobianTransposed | ( | const LocalCoordinate & | local | ) | const [inline] |
obtain the transposed of the Jacobian
[in] | local | local coordinate to evaluate Jacobian in |
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::jacobianTransposed().
LocalCoordinate Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::local | ( | const GlobalCoordinate & | global | ) | const [inline] |
evaluate the inverse mapping
[in] | global | global coorindate to map |
(global( x ) - y).two_norm()
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::local().
int Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::numCorners | ( | ) | const [inline] |
obtain number of corners of the corresponding reference element
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::numCorners().
unsigned int Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::topologyId | ( | ) | const [inline] |
Codim< codim >::Trace* Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::trace | ( | unsigned int | i, |
char * | mappingStorage | ||
) | const [inline] |
Dune::GeometryType Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::type | ( | ) | const [inline] |
obtain the name of the reference element
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::type().
Referenced by Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::topologyId().
const UserData& Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::userData | ( | ) | const [inline] |
UserData& Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::userData | ( | ) | [inline] |
FieldType Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::volume | ( | ) | const [inline] |
obtain the volume of the mapping's image
integrationElement( baryCenter() ) * ReferenceElement::volume()
References Dune::GenericGeometry::CachedMapping< Topology, GeometryTraits >::volume().
const unsigned int Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::dimension = Traits::dimension [static] |
const unsigned int Dune::GenericGeometry::NonHybridMapping< Topology, GeometryTraits >::dimWorld = Traits::dimWorld [static] |