dune-grid
2.4.1
|
#include <dune/grid/alugrid/3d/entity.hh>
Public Types | |
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, EntityCount< elementType >::numVerticesPerFace, 3 > | FaceCoordinatesType |
Public Member Functions | |
ALU3dGridGeometry () | |
ALU3dGridGeometry (const ALU3dGridGeometry &) | |
copy constructor copying pointer and increasing reference count More... | |
ALU3dGridGeometry & | operator= (const ALU3dGridGeometry &) |
copy constructor copying pointer and increasing reference count More... | |
~ALU3dGridGeometry () | |
destructor decreasing reference count and freeing object More... | |
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 | local (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, int faceNum) |
bool | buildGeom (const HEdgeType &item, int twist, int) |
bool | buildGeom (const VertexType &item, int twist, int) |
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 GeometryType > | |
bool | buildGeomInFather (const GeometryType &fatherGeom, const GeometryType &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... | |
GlobalCoordinate | center () const |
return center of the geometry More... | |
Static Public Attributes | |
static const int | mydimension |
static const int | coorddimension |
Protected Types | |
typedef ALUMemoryProvider< GeometryImplType > | GeometryProviderType |
Protected Member Functions | |
void | assign (const ALU3dGridGeometry &other) |
assign pointer More... | |
void | removeObj () |
remove pointer object More... | |
void | getObject () |
get a new pointer object More... | |
GeometryImplType & | geoImpl () const |
Static Protected Member Functions | |
static GeometryProviderType & | geoProvider () |
return storage provider for geometry objects More... | |
Protected Attributes | |
GeometryImplType * | geoImpl_ |
typedef GridImp :: ctype Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::ctype |
typedef FieldMatrix<ctype, EntityCount< elementType >:: numVerticesPerFace , 3> Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::FaceCoordinatesType |
|
protected |
typedef FieldVector<ctype, cdim > Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::GlobalCoordinate |
type of the global coordinates
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
Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::ALU3dGridGeometry | ( | ) |
for makeRefGeometry == true a Geometry with the coordinates of the reference element is made
Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::ALU3dGridGeometry | ( | const ALU3dGridGeometry< mydim, cdim, GridImp > & | ) |
copy constructor copying pointer and increasing reference count
Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::~ALU3dGridGeometry | ( | ) |
destructor decreasing reference count and freeing object
|
inline |
returns true if mapping is affine
|
protected |
assign pointer
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
bool Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::buildGeom | ( | const HFaceType & | item, |
int | twist, | ||
int | faceNum | ||
) |
bool Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::buildGeom | ( | const HEdgeType & | item, |
int | twist, | ||
int | |||
) |
bool Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::buildGeom | ( | const VertexType & | item, |
int | twist, | ||
int | |||
) |
bool Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::buildGeom | ( | const FaceCoordinatesType & | coords | ) |
bool Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::buildGeom | ( | const coord_t & | p0, |
const coord_t & | p1, | ||
const coord_t & | p2, | ||
const coord_t & | p3 | ||
) |
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 >::buildGeomInFather | ( | const GeometryType & | fatherGeom, |
const GeometryType & | myGeom | ||
) |
build geometry of local coordinates relative to father
|
inlineinherited |
return center of the geometry
GlobalCoordinate Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::corner | ( | int | i | ) | const |
access to coordinates of corners. Index is the number of the corner
int Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::corners | ( | ) | const |
return the number of corners of this element. Corners are numbered 0..n-1
|
inlineprotected |
|
inlinestaticprotected |
return storage provider for geometry objects
|
protected |
get a new pointer object
GlobalCoordinate Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::global | ( | const LocalCoordinate & | local | ) | const |
maps a local coordinate within reference element to global coordinate in element
ctype Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::integrationElement | ( | const LocalCoordinate & | local | ) | const |
A(l) , see grid.hh.
void Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::invalidate | ( | ) |
invalidate geometry implementation to avoid errors
const 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...)
const JacobianTransposed& Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::jacobianTransposed | ( | const LocalCoordinate & | local | ) | const |
jacobian transposed
LocalCoordinate Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::local | ( | const GlobalCoordinate & | global | ) | const |
maps a global coordinate within the element to a local coordinate in its reference element
ALU3dGridGeometry& Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::operator= | ( | const ALU3dGridGeometry< mydim, cdim, GridImp > & | ) |
copy constructor copying pointer and increasing reference count
void Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::print | ( | std::ostream & | ss | ) | const |
print internal data no interface method
|
protected |
remove pointer object
GeometryType Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::type | ( | ) | const |
return the element type identifier line , triangle or tetrahedron, depends on dim
bool Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::valid | ( | ) | const |
invalidate geometry implementation to avoid errors
ctype Dune::ALU3dGridGeometry< mydim, cdim, GridImp >::volume | ( | ) | const |
returns volume of geometry
|
staticinherited |
|
protected |
|
staticinherited |