dune-grid 2.9.0
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Dune::IdentityGridGeometry< mydim, coorddim, GridImp > Class Template Reference

#include <dune/grid/identitygrid/identitygridgeometry.hh>

Inheritance diagram for Dune::IdentityGridGeometry< mydim, coorddim, GridImp >:
Inheritance graph

Public Types

typedef GridImp::HostGridType::Traits::template Codim< CodimInHostGrid >::Geometry HostGridGeometryType
 
typedef GridImp::HostGridType::Traits::template Codim< CodimInHostGrid >::Geometry HostGridLocalGeometryType
 
typedef std::conditional< coorddim==DimensionWorld, HostGridGeometryType, HostGridLocalGeometryType >::type HostGridGeometry
 
typedef HostGridGeometryType::JacobianInverseTransposed JacobianInverseTransposed
 type of jacobian transposed More...
 
typedef HostGridGeometryType::JacobianTransposed JacobianTransposed
 
typedef FieldVector< ctype, mydim > LocalCoordinate
 
typedef FieldVector< ctype, cdim > GlobalCoordinate
 
typedef ctype Volume
 Number type used for the geometry volume. More...
 
typedef FieldMatrix< ctype, mydim, cdim > JacobianInverse
 type of jacobian inverse More...
 
typedef FieldMatrix< ctype, cdim, mydim > Jacobian
 type of jacobian More...
 

Public Member Functions

 IdentityGridGeometry (const HostGridGeometry &hostGeometry)
 
GeometryType type () const
 Return the element type identifier. More...
 
bool affine () const
 
int corners () const
 return the number of corners of this element. Corners are numbered 0...n-1 More...
 
const FieldVector< ctype, coorddim > corner (int i) const
 access to coordinates of corners. Index is the number of the corner More...
 
FieldVector< ctype, coorddim > global (const FieldVector< ctype, mydim > &local) const
 Maps a local coordinate within reference element to global coordinate in element
More...
 
JacobianTransposed jacobianTransposed (const FieldVector< ctype, mydim > &local) const
 Return the transposed of the Jacobian. More...
 
 FieldVector (const FieldVector< ctype, coorddim > &global) const
 Maps a global coordinate within the element to a local coordinate in its reference element. More...
 
bool checkInside (const FieldVector< ctype, mydim > &local) const
 Returns true if the point is in the current element. More...
 
ctype integrationElement (const FieldVector< ctype, mydim > &local) const
 
JacobianInverseTransposed jacobianInverseTransposed (const FieldVector< ctype, mydim > &local) const
 The Jacobian matrix of the mapping from the reference element to this element. More...
 
Volume volume () const
 return volume of the geometry More...
 
GlobalCoordinate center () const
 return center of the geometry More...
 
Jacobian jacobian (const LocalCoordinate &local) const
 Return the Jacobian. More...
 
JacobianInverse jacobianInverse (const LocalCoordinate &local) const
 Return inverse of Jacobian. More...
 

Public Attributes

HostGridGeometry hostGeometry_
 

Static Public Attributes

static constexpr int CodimInHostGrid = GridImp::HostGridType::dimension - mydim
 
static constexpr int DimensionWorld = GridImp::HostGridType::dimensionworld
 
static const int mydimension
 
static const int coorddimension
 

Member Typedef Documentation

◆ GlobalCoordinate

typedef FieldVector< ctype, cdim > Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, IdentityGridGeometry >::GlobalCoordinate
inherited

◆ HostGridGeometry

template<int mydim, int coorddim, class GridImp >
typedef std::conditional<coorddim==DimensionWorld,HostGridGeometryType,HostGridLocalGeometryType>::type Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::HostGridGeometry

◆ HostGridGeometryType

template<int mydim, int coorddim, class GridImp >
typedef GridImp::HostGridType::Traits::template Codim<CodimInHostGrid>::Geometry Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::HostGridGeometryType

◆ HostGridLocalGeometryType

template<int mydim, int coorddim, class GridImp >
typedef GridImp::HostGridType::Traits::template Codim<CodimInHostGrid>::Geometry Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::HostGridLocalGeometryType

◆ Jacobian

typedef FieldMatrix< ctype, cdim, mydim > Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, IdentityGridGeometry >::Jacobian
inherited

type of jacobian

◆ JacobianInverse

typedef FieldMatrix< ctype, mydim, cdim > Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, IdentityGridGeometry >::JacobianInverse
inherited

type of jacobian inverse

◆ JacobianInverseTransposed

template<int mydim, int coorddim, class GridImp >
typedef HostGridGeometryType::JacobianInverseTransposed Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::JacobianInverseTransposed

type of jacobian transposed

◆ JacobianTransposed

template<int mydim, int coorddim, class GridImp >
typedef HostGridGeometryType::JacobianTransposed Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::JacobianTransposed

◆ LocalCoordinate

typedef FieldVector< ctype, mydim > Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, IdentityGridGeometry >::LocalCoordinate
inherited

◆ Volume

typedef ctype Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, IdentityGridGeometry >::Volume
inherited

Number type used for the geometry volume.

Constructor & Destructor Documentation

◆ IdentityGridGeometry()

template<int mydim, int coorddim, class GridImp >
Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::IdentityGridGeometry ( const HostGridGeometry hostGeometry)
inline

constructor from host geometry

Member Function Documentation

◆ affine()

template<int mydim, int coorddim, class GridImp >
bool Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::affine ( ) const
inline

◆ center()

GlobalCoordinate Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, IdentityGridGeometry >::center ( ) const
inlineinherited

return center of the geometry

◆ checkInside()

template<int mydim, int coorddim, class GridImp >
bool Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::checkInside ( const FieldVector< ctype, mydim > &  local) const
inline

Returns true if the point is in the current element.

◆ corner()

template<int mydim, int coorddim, class GridImp >
const FieldVector< ctype, coorddim > Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::corner ( int  i) const
inline

access to coordinates of corners. Index is the number of the corner

◆ corners()

template<int mydim, int coorddim, class GridImp >
int Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::corners ( ) const
inline

return the number of corners of this element. Corners are numbered 0...n-1

◆ FieldVector()

template<int mydim, int coorddim, class GridImp >
Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::FieldVector ( const FieldVector< ctype, coorddim > &  global) const
inline

Maps a global coordinate within the element to a local coordinate in its reference element.

◆ global()

template<int mydim, int coorddim, class GridImp >
FieldVector< ctype, coorddim > Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::global ( const FieldVector< ctype, mydim > &  local) const
inline

Maps a local coordinate within reference element to global coordinate in element

◆ integrationElement()

template<int mydim, int coorddim, class GridImp >
ctype Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::integrationElement ( const FieldVector< ctype, mydim > &  local) const
inline

◆ jacobian()

Jacobian Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, IdentityGridGeometry >::jacobian ( const LocalCoordinate local) const
inlineinherited

Return the Jacobian.

◆ jacobianInverse()

JacobianInverse Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, IdentityGridGeometry >::jacobianInverse ( const LocalCoordinate local) const
inlineinherited

Return inverse of Jacobian.

◆ jacobianInverseTransposed()

template<int mydim, int coorddim, class GridImp >
JacobianInverseTransposed Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::jacobianInverseTransposed ( const FieldVector< ctype, mydim > &  local) const
inline

The Jacobian matrix of the mapping from the reference element to this element.

◆ jacobianTransposed()

template<int mydim, int coorddim, class GridImp >
JacobianTransposed Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::jacobianTransposed ( const FieldVector< ctype, mydim > &  local) const
inline

Return the transposed of the Jacobian.

◆ type()

template<int mydim, int coorddim, class GridImp >
GeometryType Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::type ( ) const
inline

Return the element type identifier.

◆ volume()

Volume Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, IdentityGridGeometry >::volume ( ) const
inlineinherited

return volume of the geometry

Member Data Documentation

◆ CodimInHostGrid

template<int mydim, int coorddim, class GridImp >
constexpr int Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::CodimInHostGrid = GridImp::HostGridType::dimension - mydim
staticconstexpr

◆ coorddimension

const int Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, IdentityGridGeometry >::coorddimension
staticinherited

◆ DimensionWorld

template<int mydim, int coorddim, class GridImp >
constexpr int Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::DimensionWorld = GridImp::HostGridType::dimensionworld
staticconstexpr

◆ hostGeometry_

template<int mydim, int coorddim, class GridImp >
HostGridGeometry Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::hostGeometry_

◆ mydimension

const int Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, IdentityGridGeometry >::mydimension
staticinherited

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