dune-grid 2.9.0
Public Types | Public Member Functions | Static Public Attributes | List of all members
Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > > Class Template Reference

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

Public Types

typedef Alberta::Real ctype
 type of coordinates More...
 
typedef FieldVector< ctype, mydimension > LocalCoordinate
 
typedef FieldVector< ctype, coorddimension > GlobalCoordinate
 
typedef FieldMatrix< ctype, mydimension, coorddimension > JacobianTransposed
 
typedef FieldMatrix< ctype, coorddimension, mydimension > JacobianInverseTransposed
 
typedef FieldMatrix< ctype, coorddimension, mydimension > Jacobian
 
typedef FieldMatrix< ctype, mydimension, coorddimension > JacobianInverse
 

Public Member Functions

 AlbertaGridGlobalGeometry ()
 
template<class CoordReader >
 AlbertaGridGlobalGeometry (const CoordReader &coordReader)
 
GeometryType type () const
 obtain the type of reference element More...
 
int corners () const
 number of corner the geometry More...
 
GlobalCoordinate corner (const int i) const
 obtain the i-th corner of this geometry More...
 
GlobalCoordinate center () const
 return center of geometry More...
 
GlobalCoordinate global (const LocalCoordinate &local) const
 map a point from the reference element to the geometry More...
 
 LocalCoordinate (const GlobalCoordinate &global) const
 map a point from the geometry to the reference element More...
 
ctype integrationElement () const
 integration element of the geometry mapping More...
 
ctype integrationElement (const LocalCoordinate &local) const
 integration element of the geometry mapping More...
 
ctype volume () const
 volume of geometry More...
 
const JacobianTransposed & jacobianTransposed () const
 transposed of the geometry mapping's Jacobian More...
 
const JacobianTransposed & jacobianTransposed (const LocalCoordinate &local) const
 transposed of the geometry mapping's Jacobian More...
 
const JacobianInverseTransposed & jacobianInverseTransposed () const
 transposed inverse of the geometry mapping's Jacobian More...
 
const JacobianInverseTransposed & jacobianInverseTransposed (const LocalCoordinate &local) const
 transposed inverse of the geometry mapping's Jacobian More...
 
Jacobian jacobian (const LocalCoordinate &local) const
 geometry mapping's Jacobian More...
 
JacobianInverse jacobianInverse (const LocalCoordinate &local) const
 inverse of the geometry mapping's Jacobian More...
 
void invalidate ()
 invalidate the geometry More...
 
template<class CoordReader >
void build (const CoordReader &coordReader)
 build the geometry from a coordinate reader More...
 

Static Public Attributes

static constexpr int dimension = Grid::dimension
 
static constexpr int mydimension = dimension
 
static constexpr int codimension = dimension - mydimension
 
static constexpr int coorddimension = cdim
 

Member Typedef Documentation

◆ ctype

template<int dim, int cdim>
typedef Alberta::Real Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::ctype

type of coordinates

◆ GlobalCoordinate

template<int dim, int cdim>
typedef FieldVector< ctype, coorddimension > Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::GlobalCoordinate

◆ Jacobian

template<int dim, int cdim>
typedef FieldMatrix< ctype, coorddimension, mydimension > Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::Jacobian

◆ JacobianInverse

template<int dim, int cdim>
typedef FieldMatrix< ctype, mydimension, coorddimension > Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::JacobianInverse

◆ JacobianInverseTransposed

template<int dim, int cdim>
typedef FieldMatrix< ctype, coorddimension, mydimension > Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::JacobianInverseTransposed

◆ JacobianTransposed

template<int dim, int cdim>
typedef FieldMatrix< ctype, mydimension, coorddimension > Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::JacobianTransposed

◆ LocalCoordinate

template<int dim, int cdim>
typedef FieldVector< ctype, mydimension > Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::LocalCoordinate

Constructor & Destructor Documentation

◆ AlbertaGridGlobalGeometry() [1/2]

template<int dim, int cdim>
Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::AlbertaGridGlobalGeometry ( )
inline

◆ AlbertaGridGlobalGeometry() [2/2]

template<int dim, int cdim>
template<class CoordReader >
Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::AlbertaGridGlobalGeometry ( const CoordReader &  coordReader)
inline

Member Function Documentation

◆ build()

template<int dim, int cdim>
template<class CoordReader >
void Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::build ( const CoordReader &  coordReader)
inline

build the geometry from a coordinate reader

◆ center()

template<int dim, int cdim>
GlobalCoordinate Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::center ( ) const
inline

return center of geometry

◆ corner()

template<int dim, int cdim>
GlobalCoordinate Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::corner ( const int  i) const
inline

obtain the i-th corner of this geometry

◆ corners()

template<int dim, int cdim>
int Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::corners ( ) const
inline

number of corner the geometry

◆ global()

template<int dim, int cdim>
GlobalCoordinate Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::global ( const LocalCoordinate &  local) const

map a point from the reference element to the geometry

◆ integrationElement() [1/2]

template<int dim, int cdim>
ctype Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::integrationElement ( ) const
inline

integration element of the geometry mapping

Note
This method is not part of the geometry interface. It is used internally only.

◆ integrationElement() [2/2]

template<int dim, int cdim>
ctype Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::integrationElement ( const LocalCoordinate &  local) const
inline

integration element of the geometry mapping

◆ invalidate()

template<int dim, int cdim>
void Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::invalidate ( )
inline

invalidate the geometry

◆ jacobian()

template<int dim, int cdim>
Jacobian Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::jacobian ( const LocalCoordinate &  local) const
inline

geometry mapping's Jacobian

◆ jacobianInverse()

template<int dim, int cdim>
JacobianInverse Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::jacobianInverse ( const LocalCoordinate &  local) const
inline

inverse of the geometry mapping's Jacobian

◆ jacobianInverseTransposed() [1/2]

template<int dim, int cdim>
const JacobianInverseTransposed & Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::jacobianInverseTransposed ( ) const
inline

transposed inverse of the geometry mapping's Jacobian

Note
This method is not part of the geometry interface. It is used internally only.

◆ jacobianInverseTransposed() [2/2]

template<int dim, int cdim>
const JacobianInverseTransposed & Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::jacobianInverseTransposed ( const LocalCoordinate &  local) const
inline

transposed inverse of the geometry mapping's Jacobian

◆ jacobianTransposed() [1/2]

template<int dim, int cdim>
const JacobianTransposed & Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::jacobianTransposed ( ) const
inline

transposed of the geometry mapping's Jacobian

Note
This method is not part of the geometry interface. It is used internally only.

◆ jacobianTransposed() [2/2]

template<int dim, int cdim>
const JacobianTransposed & Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::jacobianTransposed ( const LocalCoordinate &  local) const
inline

transposed of the geometry mapping's Jacobian

◆ LocalCoordinate()

template<int dim, int cdim>
Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::LocalCoordinate ( const GlobalCoordinate &  global) const

map a point from the geometry to the reference element

◆ type()

template<int dim, int cdim>
GeometryType Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::type ( ) const
inline

obtain the type of reference element

◆ volume()

template<int dim, int cdim>
ctype Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::volume ( ) const
inline

volume of geometry

Member Data Documentation

◆ codimension

template<int dim, int cdim>
constexpr int Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::codimension = dimension - mydimension
staticconstexpr

◆ coorddimension

template<int dim, int cdim>
constexpr int Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::coorddimension = cdim
staticconstexpr

◆ dimension

template<int dim, int cdim>
constexpr int Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::dimension = Grid::dimension
staticconstexpr

◆ mydimension

template<int dim, int cdim>
constexpr int Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::mydimension = dimension
staticconstexpr

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