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

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

Inheritance diagram for Dune::AlbertaGridGlobalGeometry< mydim, cdim, GridImp >:
Dune::AlbertaGridGeometry< mydim, cdim, GridImp >

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...
 
bool affine () const
 returns always true since we only have simplices 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 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...
 
void print (std::ostream &out) const
 

Static Public Attributes

static const int dimension = Grid :: dimension
 
static const int mydimension = mydim
 
static const int codimension = dimension - mydimension
 
static const int coorddimension = cdim
 

Member Typedef Documentation

template<int mydim, int cdim, class GridImp>
typedef Alberta::Real Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::ctype
inherited

type of coordinates

template<int mydim, int cdim, class GridImp>
typedef FieldVector< ctype, coorddimension > Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::GlobalCoordinate
inherited
template<int mydim, int cdim, class GridImp>
typedef FieldMatrix< ctype, coorddimension, mydimension > Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::JacobianInverseTransposed
inherited
template<int mydim, int cdim, class GridImp>
typedef FieldMatrix< ctype, mydimension, coorddimension > Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::JacobianTransposed
inherited
template<int mydim, int cdim, class GridImp>
typedef FieldVector< ctype, mydimension > Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::LocalCoordinate
inherited

Constructor & Destructor Documentation

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

Member Function Documentation

template<int mydim, int cdim, class GridImp>
bool Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::affine ( ) const
inlineinherited

returns always true since we only have simplices

template<int mydim, int cdim, class GridImp >
template<class CoordReader >
void Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::build ( const CoordReader &  coordReader)
inlineinherited
template<int mydim, int cdim, class GridImp>
GlobalCoordinate Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::center ( ) const
inlineinherited

return center of geometry

template<int mydim, int cdim, class GridImp>
GlobalCoordinate Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::corner ( const int  i) const
inlineinherited
template<int mydim, int cdim, class GridImp>
int Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::corners ( ) const
inlineinherited
template<int mydim, int cdim, class GridImp >
AlbertaGridGeometry< mydim, cdim, GridImp >::GlobalCoordinate Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::global ( const LocalCoordinate local) const
inlineinherited

map a point from the refence element to the geometry

template<int mydim, int cdim, class GridImp>
ctype Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::integrationElement ( ) const
inlineinherited
template<int mydim, int cdim, class GridImp>
ctype Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::integrationElement ( const LocalCoordinate local) const
inlineinherited

integration element of the geometry mapping

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

template<int mydim, int cdim, class GridImp>
void Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::invalidate ( )
inlineinherited
template<int mydim, int cdim, class GridImp >
const AlbertaGridGeometry< mydim, cdim, GridImp >::JacobianInverseTransposed & Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::jacobianInverseTransposed ( ) const
inlineinherited

transposed inverse of the geometry mapping's Jacobian

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

References Dune::Alberta::abs(), and Dune::Alberta::invert().

Referenced by Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::jacobianInverseTransposed(), and Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::jacobianInverseTransposed().

template<int mydim, int cdim, class GridImp>
const JacobianInverseTransposed& Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::jacobianInverseTransposed ( const LocalCoordinate local) const
inlineinherited

transposed inverse of the geometry mapping's Jacobian

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

template<int mydim, int cdim, class GridImp >
const AlbertaGridGeometry< mydim, cdim, GridImp >::JacobianTransposed & Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::jacobianTransposed ( ) const
inlineinherited

transposed of the geometry mapping's Jacobian

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

Referenced by Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::jacobianTransposed(), and Dune::AlbertaGridGlobalGeometry< dim, cdim, const AlbertaGrid< dim, cdim > >::jacobianTransposed().

template<int mydim, int cdim, class GridImp>
const JacobianTransposed& Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::jacobianTransposed ( const LocalCoordinate local) const
inlineinherited

transposed of the geometry mapping's Jacobian

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

template<int mydim, int cdim, class GridImp >
AlbertaGridGeometry< mydim, cdim, GridImp >::LocalCoordinate Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::local ( const GlobalCoordinate global) const
inlineinherited

map a point from the geometry to the reference element

template<int mydim, int cdim, class GridImp >
void Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::print ( std::ostream &  out) const
inlineinherited
template<int mydim, int cdim, class GridImp>
GeometryType Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::type ( ) const
inlineinherited

obtain the type of reference element

template<int mydim, int cdim, class GridImp>
ctype Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::volume ( ) const
inlineinherited

Member Data Documentation

template<int mydim, int cdim, class GridImp>
const int Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::codimension = dimension - mydimension
staticinherited
template<int mydim, int cdim, class GridImp>
const int Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::coorddimension = cdim
staticinherited
template<int mydim, int cdim, class GridImp>
const int Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::dimension = Grid :: dimension
staticinherited
template<int mydim, int cdim, class GridImp>
const int Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::mydimension = mydim
staticinherited

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