|
dune-alugrid
2.8-git
|
#include <dune/alugrid/3d/geometry.hh>

Public Types | |
| enum | { corners_ = (elementType == hexa) ? StaticPower<2,(mydim> -1) ? mydim : 0 >::power : mydim+1 } |
| typedef ALU3dImplTraitsType::IMPLElementType | IMPLElementType |
| typedef ALU3dImplTraitsType::GEOFaceType | GEOFaceType |
| typedef ALU3dImplTraitsType::GEOEdgeType | GEOEdgeType |
| typedef ALU3dImplTraitsType::GEOVertexType | GEOVertexType |
| typedef ALU3dImplTraitsType::HFaceType | HFaceType |
| typedef ALU3dImplTraitsType::HEdgeType | HEdgeType |
| typedef ALU3dImplTraitsType::VertexType | VertexType |
| typedef ElementTopologyMapping< elementType > | ElementTopo |
| typedef FaceTopologyMapping< elementType > | FaceTopo |
| typedef MyALUGridGeometryImplementation< cdim >::template GeometryImpl< 0, mydim, elementType > | GeometryImplType |
| typedef GridImp ::ctype | ctype |
| typedef FieldVector< ctype, mydim > | LocalCoordinate |
| type of local coordinates More... | |
| typedef FieldVector< ctype, cdim > | GlobalCoordinate |
| type of the global coordinates More... | |
| typedef FieldMatrix< ctype, cdim, mydim > | JacobianInverseTransposed |
| type of jacobian inverse transposed More... | |
| typedef FieldMatrix< ctype, mydim, cdim > | JacobianTransposed |
| type of jacobian transposed More... | |
| typedef FieldMatrix< ctype, GridImp::dimension==3 ? EntityCount< elementType >::numVerticesPerFace :2, cdim > | FaceCoordinatesType |
Public Member Functions | |
| GeometryType | type () const |
| int | corners () const |
| return the number of corners of this element. Corners are numbered 0..n-1 More... | |
| GlobalCoordinate | corner (int i) const |
| access to coordinates of corners. Index is the number of the corner More... | |
| GlobalCoordinate | global (const LocalCoordinate &local) const |
| LocalCoordinate (const GlobalCoordinate &global) const | |
| ctype | integrationElement (const LocalCoordinate &local) const |
| A(l) , see grid.hh. More... | |
| const JacobianInverseTransposed & | jacobianInverseTransposed (const LocalCoordinate &local) const |
| const JacobianTransposed & | jacobianTransposed (const LocalCoordinate &local) const |
| jacobian transposed More... | |
| bool | affine () const |
| returns true if mapping is affine More... | |
| ctype | volume () const |
| returns volume of geometry More... | |
| bool | buildGeom (const IMPLElementType &item) |
| Methods that not belong to the Interface, but have to be public. More... | |
| bool | buildGeom (const HFaceType &item, int twist) |
| bool | buildGeom (const HEdgeType &item, int twist) |
| bool | buildGeom (const VertexType &item, int twist) |
| bool | buildGeom (const FaceCoordinatesType &coords) |
| template<class coord_t > | |
| bool | buildGeom (const coord_t &p0, const coord_t &p1, const coord_t &p2, const coord_t &p3) |
| template<class coord_t > | |
| bool | buildGeom (const coord_t &p0, const coord_t &p1, const coord_t &p2) |
| template<class coord_t > | |
| bool | buildGeom (const coord_t &p0, const coord_t &p1) |
| template<class Geometry > | |
| bool | buildGeomInFather (const Geometry &fatherGeom, const Geometry &myGeom) |
| build geometry of local coordinates relative to father More... | |
| void | print (std::ostream &ss) const |
| void | invalidate () |
| invalidate geometry implementation to avoid errors More... | |
| bool | valid () const |
| invalidate geometry implementation to avoid errors More... | |
| template<class Geometry > | |
| alu_inline bool | buildGeomInFather (const Geometry &fatherGeom, const Geometry &myGeom) |
| template<class coord_t > | |
| alu_inline bool | buildGeom (const coord_t &p0, const coord_t &p1, const coord_t &p2, const coord_t &p3) |
| template<class coord_t > | |
| alu_inline bool | buildGeom (const coord_t &p0, const coord_t &p1, const coord_t &p2) |
| template<class coord_t > | |
| alu_inline bool | buildGeom (const coord_t &p0, const coord_t &p1) |
Protected Member Functions | |
| GeometryImplType & | geoImpl () const |
Protected Attributes | |
| ALU3DSPACE SharedPointer< GeometryImplType > | geoImplPtr_ |
| typedef GridImp :: ctype Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::ctype |
| typedef ElementTopologyMapping<elementType> Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::ElementTopo |
| typedef FieldMatrix<ctype, GridImp::dimension == 3 ? EntityCount< elementType >:: numVerticesPerFace : 2 , cdim> Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::FaceCoordinatesType |
| typedef FaceTopologyMapping<elementType> Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::FaceTopo |
| typedef ALU3dImplTraitsType::GEOEdgeType Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::GEOEdgeType |
| typedef ALU3dImplTraitsType::GEOFaceType Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::GEOFaceType |
| typedef MyALUGridGeometryImplementation<cdim>:: template GeometryImpl<0, mydim, elementType > Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::GeometryImplType |
| typedef ALU3dImplTraitsType::GEOVertexType Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::GEOVertexType |
| typedef FieldVector<ctype, cdim > Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::GlobalCoordinate |
type of the global coordinates
| typedef ALU3dImplTraitsType::HEdgeType Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::HEdgeType |
| typedef ALU3dImplTraitsType::HFaceType Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::HFaceType |
| typedef ALU3dImplTraitsType::IMPLElementType Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::IMPLElementType |
| typedef FieldMatrix<ctype,cdim,mydim> Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::JacobianInverseTransposed |
type of jacobian inverse transposed
| typedef FieldMatrix< ctype, mydim, cdim > Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::JacobianTransposed |
type of jacobian transposed
| typedef FieldVector<ctype, mydim> Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::LocalCoordinate |
type of local coordinates
| typedef ALU3dImplTraitsType::VertexType Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::VertexType |
| alu_inline bool Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::affine |
returns true if mapping is affine
| bool Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::buildGeom | ( | const coord_t & | p0, |
| const coord_t & | p1 | ||
| ) |
| alu_inline bool Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::buildGeom | ( | const coord_t & | p0, |
| const coord_t & | p1 | ||
| ) |
| bool Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::buildGeom | ( | const coord_t & | p0, |
| const coord_t & | p1, | ||
| const coord_t & | p2 | ||
| ) |
| alu_inline bool Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::buildGeom | ( | const coord_t & | p0, |
| const coord_t & | p1, | ||
| const coord_t & | p2 | ||
| ) |
| bool Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::buildGeom | ( | const coord_t & | p0, |
| const coord_t & | p1, | ||
| const coord_t & | p2, | ||
| const coord_t & | p3 | ||
| ) |
| alu_inline bool Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::buildGeom | ( | const coord_t & | p0, |
| const coord_t & | p1, | ||
| const coord_t & | p2, | ||
| const coord_t & | p3 | ||
| ) |
| alu_inline bool Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::buildGeom | ( | const FaceCoordinatesType & | coords | ) |
| alu_inline bool Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::buildGeom | ( | const HEdgeType & | item, |
| int | twist | ||
| ) |
| alu_inline bool Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::buildGeom | ( | const HFaceType & | item, |
| int | twist | ||
| ) |
| alu_inline bool Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::buildGeom | ( | const IMPLElementType & | item | ) |
Methods that not belong to the Interface, but have to be public.
generate the geometry out of a given ALU3dGridElement
| alu_inline bool Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::buildGeom | ( | const VertexType & | item, |
| int | twist | ||
| ) |
| bool Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::buildGeomInFather | ( | const Geometry & | fatherGeom, |
| const Geometry & | myGeom | ||
| ) |
build geometry of local coordinates relative to father
| alu_inline bool Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::buildGeomInFather | ( | const Geometry & | fatherGeom, |
| const Geometry & | myGeom | ||
| ) |
| alu_inline ALU3dGridGeometry< mydim, cdim, GridImp >::GlobalCoordinate Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::corner | ( | int | i | ) | const |
access to coordinates of corners. Index is the number of the corner
| alu_inline int Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::corners |
return the number of corners of this element. Corners are numbered 0..n-1
|
inlineprotected |
| alu_inline ALU3dGridGeometry< mydim, cdim, GridImp >::GlobalCoordinate Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::global | ( | const LocalCoordinate & | local | ) | const |
maps a local coordinate within reference element to global coordinate in element
| alu_inline ALU3dGridGeometry< mydim, cdim, GridImp >::ctype Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::integrationElement | ( | const LocalCoordinate & | local | ) | const |
A(l) , see grid.hh.
|
inline |
invalidate geometry implementation to avoid errors
| alu_inline const ALU3dGridGeometry< mydim, cdim, GridImp >::JacobianInverseTransposed & Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::jacobianInverseTransposed | ( | const LocalCoordinate & | local | ) | const |
can only be called for dim=dimworld! (Trivially true, since there is no other specialization...)
| alu_inline const ALU3dGridGeometry< mydim, cdim, GridImp >::JacobianTransposed & Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::jacobianTransposed | ( | const LocalCoordinate & | local | ) | const |
jacobian transposed
| Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::LocalCoordinate | ( | const GlobalCoordinate & | global | ) | const |
maps a global coordinate within the element to a local coordinate in its reference element
| alu_inline void Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::print | ( | std::ostream & | ss | ) | const |
print internal data no interface method
| alu_inline GeometryType Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::type |
return the element type identifier line , triangle or tetrahedron, depends on dim
|
inline |
invalidate geometry implementation to avoid errors
| alu_inline ALU3dGridGeometry< mydim, cdim, GridImp >::ctype Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::volume |
returns volume of geometry
|
mutableprotected |