dune-grid
2.4.1-rc2
|
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 |
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 refence element to the geometry More... | |
LocalCoordinate | local (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... | |
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 const int | dimension = Grid :: dimension |
static const int | mydimension = mydim |
static const int | codimension = dimension - mydimension |
static const 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 >::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
References Dune::Alberta::abs().
Referenced by Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::jacobianInverseTransposed().
|
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 refence element to the geometry
|
inline |
integration element of the geometry mapping
|
inline |
integration element of the geometry mapping
|
inline |
invalidate the geometry
References Dune::Alberta::abs(), and Dune::Alberta::determinant().
|
inline |
transposed inverse of the geometry mapping's Jacobian
References Dune::Alberta::abs(), Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::build(), and Dune::Alberta::invert().
|
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
|
inline |
map a point from the geometry to the reference element
|
inline |
|
inline |
obtain the type of reference element
|
inline |
volume of geometry
|
static |
|
static |
|
static |
|
static |