Dune::GenericGeometry::Geometry< mydim, cdim, Grid > Class Template Reference
[Generic Geometry Implementations]

#include <geometry.hh>

Inheritance diagram for Dune::GenericGeometry::Geometry< mydim, cdim, Grid >:

Dune::GenericGeometry::BasicGeometry< mydim, Traits >

List of all members.


Detailed Description

template<int mydim, int cdim, class Grid>
class Dune::GenericGeometry::Geometry< mydim, cdim, Grid >

generic implementation of a DUNE (global) geometry

Geometry inherits all its features from Geometry. It only add GlobalGeometryTraits< Grid > as Traits parameter to the template parameter list.

Template Parameters:
mydim Dimension of the entity
cdom Dimension of the coordinate space
Grid The grid this geometry will be used in

Public Types

typedef CoordTraits::ctype ctype
 Type used for coordinate components.
typedef FieldVector< ctype,
mydimension
LocalCoordinate
 Type used for parameter coordinates.
typedef FieldVector< ctype,
coorddimension
GlobalCoordinate
 Type used for world coordinates.
typedef FieldMatrix< ctype,
coorddimension, mydimension
Jacobian
 Type used for Jacobian matrices.

Public Member Functions

 Geometry ()
 Default constructor.
 Geometry (Mapping &mapping)
 Constructor accepting a mapping.
template<class Geo>
 Geometry (const Geo &geo)
 Copy constructor from another geometry.
template<class CoordVector>
 Geometry (const GeometryType &type, const CoordVector &coords)
 Constructor with a GeometryType and a set of coordinates.
template<int fatherdim>
 Geometry (const Geometry< fatherdim, cdim, Grid > &father, int i)
bool operator! () const
 Test whether this BasicGeometry is properly set up.
GeometryType type () const
 Return the topological type of this geometry.
int corners () const
 Return the number of corners.
const GlobalCoordinateoperator[] (int i) const
 Return the world coordinates of the i-th corner.
GlobalCoordinate global (const LocalCoordinate &local) const
 Map local to global coordinates.
LocalCoordinate local (const GlobalCoordinate &global) const
 Map global to local coordinates.
bool checkInside (const LocalCoordinate &local) const
 Return true if a given point is within the parameter domain.
bool affine () const
 Return true if this is an affine geometry.
ctype integrationElement (const LocalCoordinate &local) const
 Return the factor $|det F|$ that appears in the integral transformation formula.
ctype volume () const
 Return the volume of the element.
const JacobianjacobianInverseTransposed (const LocalCoordinate &local) const
 Compute the transpose of the inverse Jacobian matrix of the transformation from the reference element into the world space.
GlobalCoordinate normal (int face, const LocalCoordinate &local) const
 Compute a normal.

Static Public Attributes

static const int mydimension = mydim
 The dimension of the parameter space of this geometry.
static const int coorddimension = Traits :: dimWorld
 The dimension of the world space of this geometry.

Constructor & Destructor Documentation

template<int mydim, int cdim, class Grid>
template<int fatherdim>
Dune::GenericGeometry::Geometry< mydim, cdim, Grid >::Geometry ( const Geometry< fatherdim, cdim, Grid > &  father,
int  i 
) [inline]

Todo:
Please doc me!


Member Function Documentation

template<int mydim, class Traits>
bool Dune::GenericGeometry::BasicGeometry< mydim, Traits >::operator! (  )  const [inline, inherited]

Test whether this BasicGeometry is properly set up.

Todo:
Please doc me better!

template<int mydim, class Traits>
GlobalCoordinate Dune::GenericGeometry::BasicGeometry< mydim, Traits >::normal ( int  face,
const LocalCoordinate local 
) const [inline, inherited]

Compute a normal.

Todo:
Doc me properly. How are the coordinates interpreted?


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

Generated on Tue Jul 28 22:28:50 2009 for dune-grid by  doxygen 1.5.6