|
dune-grid
2.2.1
|
The general version implements dim==dimworld-1. If this is not the case an error is thrown. More...
#include <dune/grid/yaspgrid.hh>
Public Types | |
| typedef GridImp::ctype | ctype |
| define type used for coordinates in grid module More... | |
| typedef FieldVector< ctype, mydim > | LocalCoordinate |
| typedef FieldVector< ctype, cdim > | GlobalCoordinate |
| typedef FieldMatrix< ctype, cdim, mydim > | Jacobian |
| type of jacobian (also of jacobian inverse transposed) More... | |
| typedef FieldMatrix< ctype, mydim, cdim > | JacobianTransposed |
| type of jacobian transposed More... | |
Public Member Functions | |
| GeometryType | type () const |
| return the element type identifier More... | |
| bool | affine () const |
| here we have always an affine geometry More... | |
| int | corners () const |
| return the number of corners of this element. Corners are numbered 0...n-1 More... | |
| FieldVector< ctype, cdim > | corner (const int i) const |
| access to coordinates of corners. Index is the number of the corner More... | |
| FieldVector< ctype, cdim > | center () const |
| access to the center/centroid More... | |
| FieldVector< ctype, cdim > | global (const FieldVector< ctype, mydim > &local) const |
| maps a local coordinate within reference element to global coordinate in element More... | |
| 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 More... | |
| ctype | volume () const |
| return volume of geometry More... | |
| ctype | integrationElement (const FieldVector< ctype, mydim > &local) const |
| FieldMatrix< ctype, mydim, cdim > & | jacobianTransposed (const FieldVector< ctype, mydim > &local) const |
| Compute the transposed of the jacobi matrix. More... | |
| FieldMatrix< ctype, cdim, mydim > & | jacobianInverseTransposed (const FieldVector< ctype, mydim > &local) const |
| Compute the transposed of the inverse jacobi matrix. More... | |
| YaspGeometry () | |
| default constructor More... | |
| YaspGeometry (const FieldVector< ctype, cdim > &p, const FieldVector< ctype, cdim > &h, uint8_t &m) | |
| constructor from midpoint and extension and missing direction number More... | |
| YaspGeometry (const YaspGeometry &other) | |
| copy constructor (skipping temporary variables) More... | |
| void | print (std::ostream &s) const |
| print function More... | |
Static Public Attributes | |
| static const int | mydimension |
| static const int | coorddimension |
The general version implements dim==dimworld-1. If this is not the case an error is thrown.
YaspGeometry realizes the concept of the geometric part of a mesh entity.
We have specializations for dim == dimworld (elements) and dim == 0 (vertices). The general version implements dim == dimworld-1 (faces) and otherwise throws a GridError.
| typedef GridImp::ctype Dune::YaspGeometry< mydim, cdim, GridImp >::ctype |
define type used for coordinates in grid module
|
inherited |
|
inherited |
type of jacobian (also of jacobian inverse transposed)
|
inherited |
type of jacobian transposed
|
inherited |
|
inline |
default constructor
|
inline |
constructor from midpoint and extension and missing direction number
|
inline |
copy constructor (skipping temporary variables)
|
inline |
here we have always an affine geometry
|
inline |
access to the center/centroid
|
inline |
access to coordinates of corners. Index is the number of the corner
Referenced by Dune::YaspGeometry< mydim, mydim, GridImp >::operator[]().
|
inline |
return the number of corners of this element. Corners are numbered 0...n-1
|
inline |
maps a local coordinate within reference element to global coordinate in element
|
inline |
determinant of the jacobian of the mapping
References Dune::YaspGeometry< mydim, cdim, GridImp >::volume().
|
inline |
Compute the transposed of the inverse jacobi matrix.
|
inline |
Compute the transposed of the jacobi matrix.
|
inline |
maps a global coordinate within the element to a local coordinate in its reference element
|
inline |
print function
|
inline |
return the element type identifier
References Dune::cube.
|
inline |
return volume of geometry
Referenced by Dune::YaspGeometry< mydim, cdim, GridImp >::integrationElement(), and Dune::YaspGeometry< mydim, mydim, GridImp >::integrationElement().
|
staticinherited |
|
staticinherited |
1.8.3.1