dune-grid  2.1.1
Public Types | Public Member Functions | Static Public Attributes
Dune::AlbertaGridGlobalGeometry< mydim, cdim, GridImp > Class Template Reference

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

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

List of all members.

Public Types

typedef Alberta::Real ctype
 type of coordinates
typedef FieldVector< ctype,
mydimension
LocalVector
typedef FieldVector< ctype,
coorddimension
GlobalVector
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
bool affine () const
 returns always true since we only have simplices
int corners () const
 number of corner the geometry
GlobalVector corner (const int i) const
 obtain the i-th corner of this geometry
GlobalVector center () const
 return center of geometry
const GlobalVectoroperator[] (const int i) const
 deprecated way of obtaining the i-th corner
GlobalVector global (const LocalVector &local) const
 map a point from the refence element to the geometry
LocalVector local (const GlobalVector &global) const
 map a point from the geometry to the reference element
ctype integrationElement () const
 integration element of the geometry mapping
ctype integrationElement (const LocalVector &local) const
 integration element of the geometry mapping
ctype volume () const
 volume of geometry
const JacobianTransposedjacobianTransposed () const
 transposed of the geometry mapping's Jacobian
const JacobianTransposedjacobianTransposed (const LocalVector &local) const
 transposed of the geometry mapping's Jacobian
const JacobianInverseTransposedjacobianInverseTransposed () const
 transposed inverse of the geometry mapping's Jacobian
const JacobianInverseTransposedjacobianInverseTransposed (const LocalVector &local) const
 transposed inverse of the geometry mapping's Jacobian
void invalidate ()
 invalidate the geometry
template<class CoordReader >
void build (const CoordReader &coordReader)
 build the geometry from a coordinate reader
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

template<int mydim, int cdim, class GridImp>
class Dune::AlbertaGridGlobalGeometry< mydim, cdim, GridImp >


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 >::GlobalVector [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 >::LocalVector [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 [inline, inherited]

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) [inline, inherited]
template<int mydim, int cdim, class GridImp>
GlobalVector Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::center ( ) const [inline, inherited]

return center of geometry

template<int mydim, int cdim, class GridImp>
GlobalVector Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::corner ( const int  i) const [inline, inherited]
template<int mydim, int cdim, class GridImp>
int Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::corners ( ) const [inline, inherited]
template<int mydim, int cdim, class GridImp >
AlbertaGridGeometry< mydim, cdim, GridImp >::GlobalVector Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::global ( const LocalVector local) const [inline, inherited]

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 [inline, inherited]
template<int mydim, int cdim, class GridImp>
ctype Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::integrationElement ( const LocalVector local) const [inline, inherited]

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 ( ) [inline, inherited]
template<int mydim, int cdim, class GridImp >
const AlbertaGridGeometry< mydim, cdim, GridImp >::JacobianInverseTransposed & Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::jacobianInverseTransposed ( ) const [inline, inherited]

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 LocalVector local) const [inline, inherited]

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 [inline, inherited]

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 LocalVector local) const [inline, inherited]

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 >::LocalVector Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::local ( const GlobalVector global) const [inline, inherited]

map a point from the geometry to the reference element

template<int mydim, int cdim, class GridImp>
const GlobalVector& Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::operator[] ( const int  i) const [inline, inherited]

deprecated way of obtaining the i-th corner

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

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

obtain the type of reference element

template<int mydim, int cdim, class GridImp>
ctype Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::volume ( ) const [inline, inherited]

Member Data Documentation

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

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