dune-grid 2.12-git
Loading...
Searching...
No Matches
Dune::GeoGrid::Geometry< mydim, cdim, Grid >::Mapping Struct Reference

#include <dune/grid/geometrygrid/geometry.hh>

Inheritance diagram for Dune::GeoGrid::Geometry< mydim, cdim, Grid >::Mapping:
Inheritance graph

Public Types

typedef Base::ReferenceElement ReferenceElement
 
typedef Base::ctype ctype
 
typedef Base::LocalCoordinate LocalCoordinate
 
typedef Base::GlobalCoordinate GlobalCoordinate
 
typedef Base::Volume Volume
 
typedef Base::JacobianTransposed JacobianTransposed
 
typedef Base::JacobianInverseTransposed JacobianInverseTransposed
 
typedef Base::Jacobian Jacobian
 
typedef Base::JacobianInverse JacobianInverse
 

Public Member Functions

template<class CoordVector >
 Mapping (const GeometryType &type, const CoordVector &coords)
 
void addReference ()
 
bool removeReference ()
 
bool affine () const
 
GlobalCoordinate center () const
 
GlobalCoordinate global (const LocalCoordinate &local) const
 
GlobalCoordinate global (const LocalCoordinate &local) const
 
LocalCoordinate local (const GlobalCoordinate &global) const
 
LocalCoordinate local (const GlobalCoordinate &globalCoord) const
 
ctype integrationElement (const LocalCoordinate &local) const
 
Volume integrationElement (const LocalCoordinate &local) const
 
Volume volume () const
 
JacobianTransposed jacobianTransposed (const LocalCoordinate &local) const
 
JacobianTransposed jacobianTransposed (const LocalCoordinate &local) const
 
JacobianInverseTransposed jacobianInverseTransposed (const LocalCoordinate &local) const
 
JacobianInverseTransposed jacobianInverseTransposed (const LocalCoordinate &local) const
 
Jacobian jacobian (const LocalCoordinate &local) const
 
Jacobian jacobian (const LocalCoordinate &local) const
 
JacobianInverse jacobianInverse (const LocalCoordinate &local) const
 
JacobianInverse jacobianInverse (const LocalCoordinate &local) const
 
GlobalCoordinate corner (int i) const
 
Dune::GeometryType type () const
 
int corners () const
 

Static Public Attributes

static constexpr int mydimension
 
static constexpr int coorddimension
 

Protected Types

typedef Base::MatrixHelper MatrixHelper
 
typedef Dune::ReferenceElements< ctype, mydimensionReferenceElements
 
typedef std::conditional< hasSingleGeometryType, std::integral_constant< unsignedint, Traits::templatehasSingleGeometryType< mydimension >::topologyId >, unsignedint >::type TopologyId
 

Protected Member Functions

bool affine (JacobianTransposed &jacobianT) const
 
bool affine (JacobianTransposed &jacobianT) const
 
ReferenceElement refElement () const
 
TopologyId topologyId () const
 

Static Protected Member Functions

static bool affine (TopologyId topologyId, std::integral_constant< int, dim >, CornerIterator &cit, JacobianTransposed &jt)
 
static bool affine (TopologyId topologyId, std::integral_constant< int, 0 >, CornerIterator &cit, JacobianTransposed &jt)
 
static bool affine (TopologyId topologyId, std::integral_constant< int, dim >, CornerIterator &cit, JacobianTransposed &jt)
 
static bool affine (TopologyId topologyId, std::integral_constant< int, 0 >, CornerIterator &cit, JacobianTransposed &jt)
 
static void global (TopologyId topologyId, std::integral_constant< int, dim >, CornerIterator &cit, const ctype &df, const LocalCoordinate &x, const ctype &rf, GlobalCoordinate &y)
 
static void global (TopologyId topologyId, std::integral_constant< int, 0 >, CornerIterator &cit, const ctype &df, const LocalCoordinate &x, const ctype &rf, GlobalCoordinate &y)
 
static void global (TopologyId topologyId, std::integral_constant< int, dim >, CornerIterator &cit, const ctype &df, const LocalCoordinate &x, const ctype &rf, GlobalCoordinate &y)
 
static void global (TopologyId topologyId, std::integral_constant< int, 0 >, CornerIterator &cit, const ctype &df, const LocalCoordinate &x, const ctype &rf, GlobalCoordinate &y)
 
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)
 
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)
 
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)
 
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)
 

Constructor & Destructor Documentation

◆ Mapping()

template<int mydim, int cdim, class Grid >
template<class CoordVector >
Dune::GeoGrid::Geometry< mydim, cdim, Grid >::Mapping::Mapping ( const GeometryType type,
const CoordVector coords 
)
inline

Member Function Documentation

◆ addReference()

template<int mydim, int cdim, class Grid >
void Dune::GeoGrid::Geometry< mydim, cdim, Grid >::Mapping::addReference ( )
inline

◆ removeReference()

template<int mydim, int cdim, class Grid >
bool Dune::GeoGrid::Geometry< mydim, cdim, Grid >::Mapping::removeReference ( )
inline

The documentation for this struct was generated from the following file: