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

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

#include <dune/grid/yaspgrid.hh>

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

List of all members.

Public Types

typedef GridImp::ctype ctype
typedef Geometry< mydim, mydim,
GridImp, Dune::YaspGeometry
ReferenceGeometry
 the Reference Geometry

Public Member Functions

GeometryType type () const
 return the element type identifier
bool affine () const
 here we have always an affine geometry
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 > corner (const int i) const
 access to coordinates of corners. Index is the number of the corner
FieldVector< ctype, mydim > center () const
 access to the center/centroid
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 > & 
jacobianTransposed (const FieldVector< ctype, mydim > &local) const
 Compute the transposed of the jacobi matrix.
FieldMatrix< ctype, mydim,
mydim > & 
jacobianInverseTransposed (const FieldVector< ctype, mydim > &local) const
 Compute the transposed of the inverse jacobi matrix.
 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

Detailed Description

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

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


Member Typedef Documentation

template<int mydim, class GridImp >
typedef GridImp::ctype Dune::YaspGeometry< mydim, mydim, GridImp >::ctype
template<int mydim, class GridImp >
typedef Geometry<mydim,mydim,GridImp,Dune::YaspGeometry> Dune::YaspGeometry< mydim, mydim, GridImp >::ReferenceGeometry

the Reference Geometry


Constructor & Destructor Documentation

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

constructor from (storage for) midpoint and extension

template<int mydim, class GridImp >
Dune::YaspGeometry< mydim, mydim, GridImp >::YaspGeometry ( const YaspGeometry< mydim, mydim, GridImp > &  other  )  [inline]

copy constructor (skipping temporary variables)


Member Function Documentation

template<int mydim, class GridImp >
bool Dune::YaspGeometry< mydim, mydim, GridImp >::affine (  )  const [inline]

here we have always an affine geometry

template<int mydim, class GridImp >
FieldVector< ctype, mydim > Dune::YaspGeometry< mydim, mydim, GridImp >::center (  )  const [inline]

access to the center/centroid

Reimplemented from Dune::GeometryDefaultImplementation< mydim, mydim, GridImp, YaspGeometry >.

template<int mydim, class GridImp >
FieldVector< ctype, mydim > Dune::YaspGeometry< mydim, mydim, GridImp >::corner ( const int  i  )  const [inline]

access to coordinates of corners. Index is the number of the corner

template<int mydim, class GridImp >
int Dune::YaspGeometry< mydim, mydim, GridImp >::corners (  )  const [inline]

return the number of corners of this element. Corners are numbered 0...n-1

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

maps a local coordinate within reference element to global coordinate in element

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().

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

Compute the transposed of the inverse jacobi matrix.

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

Compute the transposed of the jacobi matrix.

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

maps a global coordinate within the element to a local coordinate in its reference element

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

access to coordinates of corners. Index is the number of the corner

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

template<int mydim, class GridImp >
void Dune::YaspGeometry< mydim, mydim, GridImp >::print ( std::ostream &  s  )  const [inline]

print function

template<int mydim, class GridImp >
GeometryType Dune::YaspGeometry< mydim, mydim, GridImp >::type (  )  const [inline]

return the element type identifier

template<int mydim, class GridImp >
ctype Dune::YaspGeometry< mydim, mydim, GridImp >::volume (  )  const [inline]

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

Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].