#include <geometry.hh>
Geometry inherits all its features from Geometry. It only adds LocalGeometryTraits< Grid > as Traits parameter to the template parameter list.
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 | |
LocalGeometry () | |
Default constructor. | |
LocalGeometry (Mapping &mapping) | |
Constructor accepting a mapping. | |
template<class Geo> | |
LocalGeometry (const Geo &geo) | |
Copy constructor from another geometry. | |
template<class CoordVector> | |
LocalGeometry (const GeometryType &type, const CoordVector &coords) | |
Constructor with a GeometryType and a set of coordinates. | |
template<int fatherdim> | |
LocalGeometry (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 GlobalCoordinate & | operator[] (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 Jacobian & | jacobianInverseTransposed (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. |
Dune::GenericGeometry::LocalGeometry< mydim, cdim, Grid >::LocalGeometry | ( | const Geometry< fatherdim, cdim, Grid > & | father, | |
int | i | |||
) | [inline] |
bool Dune::GenericGeometry::BasicGeometry< mydim, Traits >::operator! | ( | ) | const [inline, inherited] |
GlobalCoordinate Dune::GenericGeometry::BasicGeometry< mydim, Traits >::normal | ( | int | face, | |
const LocalCoordinate & | local | |||
) | const [inline, inherited] |