Dune::ALU2dGridGeometry< mydim, cdim, GridImp > Class Template Reference
#include <geometry.hh>
Inheritance diagram for Dune::ALU2dGridGeometry< mydim, cdim, GridImp >:

Detailed Description
template<int mydim, int cdim, class GridImp>
class Dune::ALU2dGridGeometry< mydim, cdim, GridImp >
ALU2dGridGeometry Empty definition, needs to be specialized for element type
Public Member Functions | |
ALU2dGridGeometry () | |
ALU2dGridGeometry (const int child, const int orientation) | |
constructor building geometry in father | |
const GeometryType & | type () const |
int | corners () const |
return the number of corners of this element. Corners are numbered 0...mydim+1 | |
const FieldVector< alu2d_ctype, cdim > & | operator[] (int i) const |
access to coordinates of corners. Index is the number of the corner | |
FieldVector< alu2d_ctype, cdim > | global (const FieldVector< alu2d_ctype, mydim > &local) const |
FieldVector< alu2d_ctype, mydim > | local (const FieldVector< alu2d_ctype, cdim > &global) const |
bool | checkInside (const FieldVector< alu2d_ctype, mydim > &local) const |
returns true if the point in local coordinates is inside reference element | |
alu2d_ctype | integrationElement (const FieldVector< alu2d_ctype, mydim > &local) const |
A(l) , see grid.hh. | |
alu2d_ctype | volume () const |
return volume of geometry | |
const FieldMatrix< alu2d_ctype, mydim, mydim > & | jacobianInverseTransposed (const FieldVector< alu2d_ctype, mydim > &local) const |
can only be called for dim=dimworld! | |
bool | builtGeom (const ALU2DSPACE Vertex &item, int) |
built Geometry | |
bool | builtGeom (const HElementType &item, int face) |
built Geometry | |
template<class GeometryType, class LocalGeomType> | |
bool | builtLocalGeom (const GeometryType &geo, const LocalGeomType &lg) |
bool | builtLocalGeom (const int faceNumber, const int twist) |
build local geometry given local face number | |
FieldVector< alu2d_ctype, cdim > & | getCoordVec (int i) |
return non-const reference to coord vecs | |
void | print (std::ostream &ss) const |
print the GeometryInformation | |
bool | buildGeomInFather (const Geometry &fatherGeom, const Geometry &myGeom) |
build geometry with local coords of child in reference element | |
template<> | |
FieldVector< alu2d_ctype, 2 > | global (const FieldVector< alu2d_ctype, 0 > &local) const |
template<> | |
alu2d_ctype | volume () const |
return volume of the geometry | |
template<> | |
alu2d_ctype | volume () const |
return volume of the geometry |
Constructor & Destructor Documentation
template<int mydim, int cdim, class GridImp>
Dune::ALU2dGridGeometry< mydim, cdim, GridImp >::ALU2dGridGeometry | ( | ) | [inline] |
for makeRefGeometry == true a Geometry with the coordinates of the reference element is made
Member Function Documentation
template<int mydim, int cdim, class GridImp>
const GeometryType & Dune::ALU2dGridGeometry< mydim, cdim, GridImp >::type | ( | ) | const [inline] |
return the element type identifier line , triangle or tetrahedron, depends on dim
template<int mydim, int cdim, class GridImp>
FieldVector< alu2d_ctype, cdim > Dune::ALU2dGridGeometry< mydim, cdim, GridImp >::global | ( | const FieldVector< alu2d_ctype, mydim > & | local | ) | const [inline] |
maps a local coordinate within reference element to global coordinate in element
template<int mydim, int cdim, class GridImp>
FieldVector< alu2d_ctype, mydim > Dune::ALU2dGridGeometry< mydim, cdim, GridImp >::local | ( | const FieldVector< alu2d_ctype, cdim > & | global | ) | const [inline] |
maps a global coordinate within the element to a local coordinate in its reference element
template<int mydim, int cdim, class GridImp>
template<class GeometryType, class LocalGeometryType>
bool Dune::ALU2dGridGeometry< mydim, cdim, GridImp >::builtLocalGeom | ( | const GeometryType & | geo, | |
const LocalGeomType & | lg | |||
) | [inline] |
build geometry for intersectionSelfLocal and intersectionNeighborLocal
template<>
FieldVector< alu2d_ctype, 2 > Dune::ALU2dGridGeometry< 0, 2, const ALU2dGrid< 2, 2 > >::global | ( | const FieldVector< alu2d_ctype, 0 > & | local | ) | const [inline] |
maps a local coordinate within reference element to global coordinate in element
The documentation for this class was generated from the following files:
- alugrid/2d/geometry.hh
- 2d/geometry_imp.cc