dune-grid  2.4.1-rc2
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>

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

Public Types

typedef GridImp::ctype ctype
 
typedef FieldVector< ctype, mydim > LocalCoordinate
 
typedef FieldVector< ctype, cdim > GlobalCoordinate
 
typedef FieldMatrix< ctype, cdim, mydim > JacobianInverseTransposed
 type of jacobian inverse transposed More...
 
typedef FieldMatrix< ctype, mydim, cdim > JacobianTransposed
 type of jacobian transposed More...
 

Public Member Functions

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

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 >::JacobianInverseTransposed

type 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

return center of the geometry

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

return volume of the geometry

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: