dune-grid
2.2.0
|
specialize for dim=dimworld, i.e. a volume element More...
#include <dune/grid/yaspgrid.hh>
Public Types | |
typedef GridImp::ctype | ctype |
typedef FieldVector< ctype, mydim > | LocalCoordinate |
typedef FieldVector< ctype, cdim > | GlobalCoordinate |
typedef FieldMatrix< ctype, cdim, mydim > | Jacobian |
type of jacobian (also of jacobian inverse transposed) | |
typedef FieldMatrix< ctype, mydim, cdim > | JacobianTransposed |
type of jacobian transposed |
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 () | |
default constructor | |
YaspGeometry (const FieldVector< ctype, mydim > &p, const FieldVector< ctype, mydim > &h) | |
constructor from midpoint and extension | |
YaspGeometry (const YaspGeometry &other) | |
copy constructor (skipping temporary variables) | |
void | print (std::ostream &s) const |
print function |
Static Public Attributes | |
static const int | mydimension |
static const int | coorddimension |
specialize for dim=dimworld, i.e. a volume element
typedef GridImp::ctype Dune::YaspGeometry< mydim, mydim, GridImp >::ctype |
|
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
|
inline |
copy constructor (skipping temporary variables)
|
inline |
here we have always an affine geometry
|
inline |
access to the center/centroid
Reimplemented from Dune::GeometryDefaultImplementation< mydim, mydim, GridImp, YaspGeometry >.
|
inline |
access to coordinates of corners. Index is the number of the corner
|
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 |
access to coordinates of corners. Index is the number of the corner
References Dune::YaspGeometry< mydim, cdim, GridImp >::corner().
|
inline |
print function
|
inline |
return the element type identifier
References Dune::cube.
|
inline |
return volume of geometry
Reimplemented from Dune::GeometryDefaultImplementation< mydim, mydim, GridImp, YaspGeometry >.
|
staticinherited |
|
staticinherited |