dune-grid-dev-howto  2.1.1
Public Types | Public Member Functions | Public Attributes
Dune::IdentityGridGeometry< mydim, coorddim, GridImp > Class Template Reference

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

List of all members.

Public Types

enum  { CodimInHostGrid = GridImp::HostGridType::dimension - mydim }
enum  { DimensionWorld = GridImp::HostGridType::dimensionworld }
typedef FieldMatrix< ctype,
mydim, coorddim > 
JacobianTransposed
 type of jacobian transposed
typedef
GridImp::HostGridType::Traits::template
Codim< CodimInHostGrid >
::Geometry 
HostGridGeometryType
typedef
GridImp::HostGridType::Traits::template
Codim< CodimInHostGrid >
::Geometry 
HostGridLocalGeometryType
typedef SelectType< coorddim==DimensionWorld,
HostGridGeometryType,
HostGridLocalGeometryType >
::Type 
HostGridGeometry

Public Member Functions

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

Public Attributes

const HostGridGeometryhostGeometry_

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


Member Typedef Documentation

template<int mydim, int coorddim, class GridImp >
typedef SelectType<coorddim==DimensionWorld, HostGridGeometryType, HostGridLocalGeometryType>::Type Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::HostGridGeometry
template<int mydim, int coorddim, class GridImp >
typedef GridImp::HostGridType::Traits::template Codim<CodimInHostGrid>::Geometry Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::HostGridGeometryType
template<int mydim, int coorddim, class GridImp >
typedef GridImp::HostGridType::Traits::template Codim<CodimInHostGrid>::Geometry Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::HostGridLocalGeometryType
template<int mydim, int coorddim, class GridImp >
typedef FieldMatrix< ctype, mydim, coorddim > Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::JacobianTransposed

type of jacobian transposed


Member Enumeration Documentation

template<int mydim, int coorddim, class GridImp >
anonymous enum
Enumerator:
CodimInHostGrid 
template<int mydim, int coorddim, class GridImp >
anonymous enum
Enumerator:
DimensionWorld 

Constructor & Destructor Documentation

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

Default constructor.


Member Function Documentation

template<int mydim, int coorddim, class GridImp >
bool Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::affine ( ) const [inline]
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.

References Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::hostGeometry_.

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

References Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::hostGeometry_.

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

References Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::hostGeometry_.

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.

References Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::hostGeometry_.

template<int mydim, int coorddim, class GridImp >
ctype Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::integrationElement ( const FieldVector< ctype, mydim > &  local) const [inline]
template<int mydim, int coorddim, class GridImp >
const FieldMatrix<ctype, coorddim,mydim>& 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.

References Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::hostGeometry_.

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

Return the transposed of the Jacobian.

References Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::hostGeometry_.

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

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

References Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::hostGeometry_.

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

Return the element type identifier.

References Dune::IdentityGridGeometry< mydim, coorddim, GridImp >::hostGeometry_.


Member Data Documentation

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

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