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

Default implementation for class Geometry. More...

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

Public Types

typedef GridImp::ctype ctype
typedef FieldVector< ctype, mydim > LocalCoordinate
typedef FieldVector< ctype, cdim > GlobalCoordinate
typedef FieldMatrix< ctype,
cdim, mydim > 
Jacobian
 type of jacobian (also of jacobian inverse transposed)
typedef FieldMatrix< ctype,
mydim, cdim > 
JacobianTransposed
 type of jacobian transposed

Public Member Functions

ctype volume () const
 return volume of the geometry
GlobalCoordinate center () const
 return center of the geometry

Static Public Attributes

static const int mydimension = mydim
static const int coorddimension = cdim

Detailed Description

template<int mydim, int cdim, class GridImp, template< int, int, class > class GeometryImp>
class Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, GeometryImp >

Default implementation for class Geometry.

Member Typedef Documentation

template<int mydim, int cdim, class GridImp, template< int, int, class > class GeometryImp>
typedef GridImp::ctype Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, GeometryImp >::ctype
template<int mydim, int cdim, class GridImp, template< int, int, class > class GeometryImp>
typedef FieldVector< ctype, cdim > Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, GeometryImp >::GlobalCoordinate
template<int mydim, int cdim, class GridImp, template< int, int, class > class GeometryImp>
typedef FieldMatrix<ctype,cdim,mydim> Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, GeometryImp >::Jacobian

type of jacobian (also of jacobian inverse transposed)

template<int mydim, int cdim, class GridImp, template< int, int, class > class GeometryImp>
typedef FieldMatrix< ctype, mydim, cdim > Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, GeometryImp >::JacobianTransposed

type of jacobian transposed

template<int mydim, int cdim, class GridImp, template< int, int, class > class GeometryImp>
typedef FieldVector< ctype, mydim > Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, GeometryImp >::LocalCoordinate

Member Function Documentation

template<int mydim, int cdim, class GridImp, template< int, int, class > class GeometryImp>
GlobalCoordinate Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, GeometryImp >::center ( ) const
inline
template<int mydim, int cdim, class GridImp, template< int, int, class > class GeometryImp>
ctype Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, GeometryImp >::volume ( ) const
inline

Member Data Documentation

template<int mydim, int cdim, class GridImp, template< int, int, class > class GeometryImp>
const int Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, GeometryImp >::coorddimension = cdim
static
template<int mydim, int cdim, class GridImp, template< int, int, class > class GeometryImp>
const int Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, GeometryImp >::mydimension = mydim
static

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