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

#include <yaspgrid.hh>

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

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

List of all members.


Detailed Description

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

specialize for dim=dimworld, i.e. a volume element

Public Types

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, mydim > & operator[] (int i) const
 access to coordinates of corners. Index is the number of the corner
FieldVector< ctype, mydim > 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, mydim > &global) const
 maps a global coordinate within the element to a local coordinate in its reference element
ctype integrationElement (const FieldVector< ctype, mydim > &local) const
ctype volume () const
 return volume of geometry
FieldMatrix< ctype, mydim,
mydim > & 
jacobianInverseTransposed (const FieldVector< ctype, mydim > &local) const
 Compute the transposed of the inverse jacobi matrix.
bool checkInside (const FieldVector< ctype, mydim > &local) const
 check whether local is inside reference element
 YaspGeometry (const FieldVector< ctype, mydim > &p, const FieldVector< ctype, mydim > &h)
 constructor from (storage for) midpoint and extension
 YaspGeometry (const YaspGeometry &other)
 copy constructor (skipping temporary variables)
void print (std::ostream &s) const
 print function

Member Function Documentation

template<int mydim, class GridImp>
ctype Dune::YaspGeometry< mydim, mydim, 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 Thu Apr 2 10:40:48 2009 for dune-grid by  doxygen 1.5.6