Dune::YaspGeometry< mydim, cdim, GridImp > Class Template Reference

#include <yaspgrid.hh>

Inheritance diagram for Dune::YaspGeometry< mydim, cdim, GridImp >:

Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, GeometryImp >

List of all members.


Detailed Description

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

The general version implements dimworld==dimworld. If this is not the case an error is thrown.

Public Types

typedef GridImp::ctype ctype
 define type used for coordinates in grid module
typedef Geometry< mydim, mydim,
GridImp, Dune::YaspGeometry
ReferenceGeometry
 the Reference Geometry

Public Member Functions

GeometryType type () const
 return the element type identifier
int corners () const
 return the number of corners of this element. Corners are numbered 0...n-1
const FieldVector< ctype, cdim > & operator[] (int i) const
 access to coordinates of corners. Index is the number of the corner
FieldVector< ctype, cdim > global (const FieldVector< ctype, mydim > &local) const
 maps a local coordinate within reference element to global coordinate in element
FieldVector< ctype, mydim > local (const FieldVector< ctype, cdim > &global) const
 maps a global coordinate within the element to a local coordinate in its reference element
ctype volume () const
 return volume of geometry
ctype integrationElement (const FieldVector< ctype, mydim > &local) const
bool checkInside (const FieldVector< ctype, mydim > &local) const
 check whether local is inside reference element
 YaspGeometry (const FieldVector< ctype, cdim > &p, const FieldVector< ctype, cdim > &h, int &m)
 constructor from (storage for) midpoint and extension and missing direction number
void print (std::ostream &s) const
 print function

Member Function Documentation

template<int mydim, int cdim, class GridImp>
ctype Dune::YaspGeometry< mydim, cdim, GridImp >::integrationElement ( const FieldVector< ctype, mydim > &  local  )  const [inline]

determinant of the jacobian of the mapping

References Dune::YaspGeometry< mydim, cdim, GridImp >::volume().


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

Generated on 6 Nov 2008 with Doxygen (ver 1.5.6) [logfile].