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

specialization for dim=0, this is a vertex More...

#include <dune/grid/yaspgrid.hh>

Inheritance diagram for Dune::YaspGeometry< 0, cdim, GridImp >:
Inheritance graph

List of all members.

Public Types

typedef GridImp::ctype ctype

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, cdim > & operator[] (int i) const
 access to coordinates of corners. Index is the number of the corner
FieldVector< ctype, cdim > corner (const int i) const
 access to coordinates of corners. Index is the number of the corner
FieldVector< ctype, cdim > center () const
 access to the center/centroid
ctype integrationElement (const FieldVector< ctype, 0 > &local) const
FieldMatrix< ctype, 0, cdim > & jacobianTransposed (const FieldVector< ctype, 0 > &local) const
 Compute the transposed of the jacobi matrix.
FieldMatrix< ctype, cdim, 0 > & jacobianInverseTransposed (const FieldVector< ctype, 0 > &local) const
 Compute the transposed of the inverse jacobi matrix.
 YaspGeometry (const FieldVector< ctype, cdim > &p)
 constructor
void print (std::ostream &s) const
 print function
ctype volume () const
 return volume of the geometry

Detailed Description

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

specialization for dim=0, this is a vertex


Member Typedef Documentation

template<int cdim, class GridImp >
typedef GridImp::ctype Dune::YaspGeometry< 0, cdim, GridImp >::ctype

Constructor & Destructor Documentation

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

constructor


Member Function Documentation

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

here we have always an affine geometry

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

access to the center/centroid

Reimplemented from Dune::GeometryDefaultImplementation< 0, cdim, GridImp, YaspGeometry >.

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

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

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

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

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

determinant of the jacobian of the mapping

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

Compute the transposed of the inverse jacobi matrix.

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

Compute the transposed of the jacobi matrix.

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

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

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

print function

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

return the element type identifier

ctype Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, YaspGeometry >::volume (  )  const [inline, inherited]

return volume of the geometry


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].