Dune::ALU3dGridGeometry< mydim, cdim, const ALU3dGrid< 3, 3, hexa > > Class Template Reference

#include <geometry.hh>

Inheritance diagram for Dune::ALU3dGridGeometry< mydim, cdim, const ALU3dGrid< 3, 3, hexa > >:

Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, GeometryImp >

List of all members.


Detailed Description

template<int mydim, int cdim>
class Dune::ALU3dGridGeometry< mydim, cdim, const ALU3dGrid< 3, 3, hexa > >

Specialisation for hexahedra.

Public Member Functions

 ALU3dGridGeometry ()
 ~ALU3dGridGeometry ()
 Destructor.
const GeometryType & type () const
int corners () const
 return the number of corners of this element. Corners are numbered 0..n-1
const FieldVector< alu3d_ctype,
cdim > & 
operator[] (int i) const
 access to coordinates of corners. Index is the number of the corner
FieldVector< alu3d_ctype, cdim > global (const FieldVector< alu3d_ctype, mydim > &local) const
FieldVector< alu3d_ctype, mydim > local (const FieldVector< alu3d_ctype, cdim > &global) const
bool checkInside (const FieldVector< alu3d_ctype, mydim > &local) const
alu3d_ctype integrationElement (const FieldVector< alu3d_ctype, mydim > &local) const
 A(l) , see grid.hh.
const FieldMatrix< alu3d_ctype,
mydim, mydim > & 
jacobianInverseTransposed (const FieldVector< alu3d_ctype, mydim > &local) const
alu3d_ctype volume () const
 returns volume of geometry
bool buildGeom (const IMPLElementType &item)
 Methods that not belong to the Interface, but have to be public.
bool buildGhost (const PLLBndFaceType &ghost)
 build ghost out of internal boundary segment
template<class GeometryType>
bool buildGeomInFather (const GeometryType &fatherGeom, const GeometryType &myGeom)
 build geometry of local coordinates relative to father
void print (std::ostream &ss) const

Constructor & Destructor Documentation

template<int mydim, int cdim>
Dune::ALU3dGridGeometry< mydim, cdim, const ALU3dGrid< 3, 3, hexa > >::ALU3dGridGeometry (  )  [inline]

for makeRefGeometry == true a Geometry with the coordinates of the reference element is made


Member Function Documentation

template<int mydim, int cdim>
const GeometryType & Dune::ALU3dGridGeometry< mydim, cdim, const ALU3dGrid< 3, 3, hexa > >::type (  )  const [inline]

return the element type identifier line , triangle or tetrahedron, depends on dim

template<int mydim, int cdim>
FieldVector<alu3d_ctype, cdim> Dune::ALU3dGridGeometry< mydim, cdim, const ALU3dGrid< 3, 3, hexa > >::global ( const FieldVector< alu3d_ctype, mydim > &  local  )  const

maps a local coordinate within reference element to global coordinate in element

template<int mydim, int cdim>
FieldVector<alu3d_ctype, mydim> Dune::ALU3dGridGeometry< mydim, cdim, const ALU3dGrid< 3, 3, hexa > >::local ( const FieldVector< alu3d_ctype, cdim > &  global  )  const

maps a global coordinate within the element to a local coordinate in its reference element

template<int mydim, int cdim>
bool Dune::ALU3dGridGeometry< mydim, cdim, const ALU3dGrid< 3, 3, hexa > >::checkInside ( const FieldVector< alu3d_ctype, mydim > &  local  )  const [inline]

returns true if the point in local coordinates is inside reference element

template<int mydim, int cdim>
const FieldMatrix<alu3d_ctype,mydim,mydim>& Dune::ALU3dGridGeometry< mydim, cdim, const ALU3dGrid< 3, 3, hexa > >::jacobianInverseTransposed ( const FieldVector< alu3d_ctype, mydim > &  local  )  const

can only be called for dim=dimworld! (Trivially true, since there is no other specialization...)

template<int mydim, int cdim>
bool Dune::ALU3dGridGeometry< mydim, cdim, const ALU3dGrid< 3, 3, hexa > >::buildGeom ( const IMPLElementType &  item  ) 

Methods that not belong to the Interface, but have to be public.

generate the geometry out of a given ALU3dGridElement

template<int mydim, int cdim>
void Dune::ALU3dGridGeometry< mydim, cdim, const ALU3dGrid< 3, 3, hexa > >::print ( std::ostream &  ss  )  const [inline]

print internal data no interface method


The documentation for this class was generated from the following files:

Generated on 6 Nov 2008 with Doxygen (ver 1.5.6) [logfile].