dune-grid 2.9.0
|
geometry implementation for AlbertaGrid More...
#include <dune/grid/albertagrid/geometry.hh>
Public Types | |
typedef Alberta::Real | ctype |
type of coordinates More... | |
typedef FieldVector< ctype, mydimension > | LocalCoordinate |
typedef FieldVector< ctype, coorddimension > | GlobalCoordinate |
typedef FieldMatrix< ctype, mydimension, coorddimension > | JacobianTransposed |
typedef FieldMatrix< ctype, coorddimension, mydimension > | JacobianInverseTransposed |
typedef FieldMatrix< ctype, coorddimension, mydimension > | Jacobian |
typedef FieldMatrix< ctype, mydimension, coorddimension > | JacobianInverse |
Public Member Functions | |
AlbertaGridGeometry () | |
template<class CoordReader > | |
AlbertaGridGeometry (const CoordReader &coordReader) | |
GeometryType | type () const |
obtain the type of reference element More... | |
bool | affine () const |
returns always true since we only have simplices More... | |
int | corners () const |
number of corner the geometry More... | |
GlobalCoordinate | corner (const int i) const |
obtain the i-th corner of this geometry More... | |
GlobalCoordinate | center () const |
return center of geometry More... | |
GlobalCoordinate | global (const LocalCoordinate &local) const |
map a point from the reference element to the geometry More... | |
LocalCoordinate (const GlobalCoordinate &global) const | |
map a point from the geometry to the reference element More... | |
ctype | integrationElement () const |
integration element of the geometry mapping More... | |
ctype | integrationElement (const LocalCoordinate &local) const |
integration element of the geometry mapping More... | |
ctype | volume () const |
volume of geometry More... | |
const JacobianTransposed & | jacobianTransposed () const |
transposed of the geometry mapping's Jacobian More... | |
const JacobianTransposed & | jacobianTransposed (const LocalCoordinate &local) const |
transposed of the geometry mapping's Jacobian More... | |
const JacobianInverseTransposed & | jacobianInverseTransposed () const |
transposed inverse of the geometry mapping's Jacobian More... | |
const JacobianInverseTransposed & | jacobianInverseTransposed (const LocalCoordinate &local) const |
transposed inverse of the geometry mapping's Jacobian More... | |
Jacobian | jacobian (const LocalCoordinate &local) const |
geometry mapping's Jacobian More... | |
JacobianInverse | jacobianInverse (const LocalCoordinate &local) const |
inverse of the geometry mapping's Jacobian More... | |
void | invalidate () |
invalidate the geometry More... | |
template<class CoordReader > | |
void | build (const CoordReader &coordReader) |
build the geometry from a coordinate reader More... | |
void | print (std::ostream &out) const |
Static Public Attributes | |
static constexpr int | dimension = Grid :: dimension |
static constexpr int | mydimension = mydim |
static constexpr int | codimension = dimension - mydimension |
static constexpr int | coorddimension = cdim |
geometry implementation for AlbertaGrid
Defines the geometry part of a mesh entity. Works for all dimensions, element types and dim of world. Provides reference element and mapping between local and global coordinates.
mydim | dimension of the element (0 <= dim <= 3) |
cdim | dimension of global coordinates |
GridImp | grid implementation (always const AlbertaGrid< dim, dimworld >) |
typedef Alberta::Real Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::ctype |
type of coordinates
typedef FieldVector< ctype, coorddimension > Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::GlobalCoordinate |
typedef FieldMatrix< ctype, coorddimension, mydimension > Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::Jacobian |
typedef FieldMatrix< ctype, mydimension, coorddimension > Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::JacobianInverse |
typedef FieldMatrix< ctype, coorddimension, mydimension > Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::JacobianInverseTransposed |
typedef FieldMatrix< ctype, mydimension, coorddimension > Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::JacobianTransposed |
typedef FieldVector< ctype, mydimension > Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::LocalCoordinate |
|
inline |
|
inline |
|
inline |
returns always true since we only have simplices
|
inline |
build the geometry from a coordinate reader
|
inline |
return center of geometry
|
inline |
obtain the i-th corner of this geometry
|
inline |
number of corner the geometry
|
inline |
map a point from the reference element to the geometry
|
inline |
integration element of the geometry mapping
|
inline |
integration element of the geometry mapping
|
inline |
invalidate the geometry
|
inline |
geometry mapping's Jacobian
|
inline |
inverse of the geometry mapping's Jacobian
|
inline |
transposed inverse of the geometry mapping's Jacobian
|
inline |
transposed inverse of the geometry mapping's Jacobian
|
inline |
transposed of the geometry mapping's Jacobian
|
inline |
transposed of the geometry mapping's Jacobian
Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::LocalCoordinate | ( | const GlobalCoordinate & | global | ) | const |
map a point from the geometry to the reference element
|
inline |
|
inline |
obtain the type of reference element
|
inline |
volume of geometry
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |