dune-grid  2.3.1
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
 

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...
 
const GlobalCoordinateoperator[] (const int i) const
 deprecated way of obtaining the i-th corner More...
 
GlobalCoordinate center () const
 return center of geometry More...
 
GlobalCoordinate global (const LocalCoordinate &local) const
 map a point from the refence element to the geometry More...
 
LocalCoordinate local (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 JacobianTransposedjacobianTransposed () const
 transposed of the geometry mapping's Jacobian More...
 
const JacobianTransposedjacobianTransposed (const LocalCoordinate &local) const
 transposed of the geometry mapping's Jacobian More...
 
const JacobianInverseTransposedjacobianInverseTransposed () const
 transposed inverse of the geometry mapping's Jacobian More...
 
const JacobianInverseTransposedjacobianInverseTransposed (const LocalCoordinate &local) const
 transposed 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 const int dimension = Grid::dimension
 
static const int mydimension = dimension
 
static const int codimension = dimension - mydimension
 
static const int coorddimension = cdim
 

Member Typedef Documentation

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

type of coordinates

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

Constructor & Destructor Documentation

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

Member Function Documentation

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

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

return center of geometry

References Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::corner().

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

number of corner the geometry

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

map a point from the refence element to the geometry

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.
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

References Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::integrationElement().

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

invalidate the geometry

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.
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

References Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::jacobianInverseTransposed().

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.
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

References Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::jacobianTransposed().

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

map a point from the geometry to the reference element

template<int dim, int cdim>
const GlobalCoordinate& Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::operator[] ( const int  i) const
inline

deprecated way of obtaining the i-th corner

Deprecated:
Use corner( int i) instead. This method will be removed after Dune 2.3.
Deprecated:
"Use corner( int i) instead."
template<int dim, int cdim>
GeometryType Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::type ( ) const
inline

obtain the type of reference element

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

Member Data Documentation

template<int dim, int cdim>
const int Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::codimension = dimension - mydimension
static
template<int dim, int cdim>
const int Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::coorddimension = cdim
static
template<int dim, int cdim>
const int Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::dimension = Grid::dimension
static
template<int dim, int cdim>
const int Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::mydimension = dimension
static

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