dune-fem  2.4.1-rc
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
Dune::Fem::GeometryInformation< GridImp, codim > Class Template Reference

ReferenceVolume and local bary center keeper class. More...

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/space/common/allgeomtypes.hh>

Inheritance diagram for Dune::Fem::GeometryInformation< GridImp, codim >:
Inheritance graph

Public Types

typedef GridImp GridType
 grid type More...
 
typedef GridType::ctype ctype
 coordinate type More...
 
typedef Dune::ReferenceElement< ctype, dimReferenceElementType
 type of reference element More...
 
typedef FieldVector< ctype, dimDomainType
 type of domain vector More...
 

Public Member Functions

 GeometryInformation (const std::vector< GeometryType > &geomTypes)
 creating geometry information due to given geometry types list More...
 
const DomainTypelocalCenter (const GeometryType &type) const
 return local bary center for geometry of type type More...
 
double referenceVolume (const GeometryType &type) const
 return volume of reference element for geometry of type type More...
 

Static Public Member Functions

static const ReferenceElementTypereferenceElement (const GeometryType &type)
 return reference element for type More...
 

Static Public Attributes

static const int dim = GridType::dimension - codim
 dimension More...
 

Protected Member Functions

 GeometryInformation ()
 constructor creating empty geometry information More...
 
void buildMaps (const std::vector< GeometryType > &geomTypes)
 build maps More...
 

Detailed Description

template<class GridImp, int codim>
class Dune::Fem::GeometryInformation< GridImp, codim >

ReferenceVolume and local bary center keeper class.

Member Typedef Documentation

template<class GridImp, int codim>
typedef GridType::ctype Dune::Fem::GeometryInformation< GridImp, codim >::ctype

coordinate type

template<class GridImp, int codim>
typedef FieldVector<ctype, dim> Dune::Fem::GeometryInformation< GridImp, codim >::DomainType

type of domain vector

template<class GridImp, int codim>
typedef GridImp Dune::Fem::GeometryInformation< GridImp, codim >::GridType

grid type

template<class GridImp, int codim>
typedef Dune::ReferenceElement< ctype, dim > Dune::Fem::GeometryInformation< GridImp, codim >::ReferenceElementType

type of reference element

Constructor & Destructor Documentation

template<class GridImp, int codim>
Dune::Fem::GeometryInformation< GridImp, codim >::GeometryInformation ( )
inlineprotected

constructor creating empty geometry information

template<class GridImp, int codim>
Dune::Fem::GeometryInformation< GridImp, codim >::GeometryInformation ( const std::vector< GeometryType > &  geomTypes)
inlineexplicit

creating geometry information due to given geometry types list

Member Function Documentation

template<class GridImp, int codim>
void Dune::Fem::GeometryInformation< GridImp, codim >::buildMaps ( const std::vector< GeometryType > &  geomTypes)
inlineprotected
template<class GridImp, int codim>
const DomainType& Dune::Fem::GeometryInformation< GridImp, codim >::localCenter ( const GeometryType &  type) const
inline

return local bary center for geometry of type type

template<class GridImp, int codim>
static const ReferenceElementType& Dune::Fem::GeometryInformation< GridImp, codim >::referenceElement ( const GeometryType &  type)
inlinestatic
template<class GridImp, int codim>
double Dune::Fem::GeometryInformation< GridImp, codim >::referenceVolume ( const GeometryType &  type) const
inline

return volume of reference element for geometry of type type

Referenced by Dune::Fem::LocalMassMatrixImplementation< DiscreteFunctionSpaceType, QuadratureType >::getAffineMassFactor().

Member Data Documentation

template<class GridImp, int codim>
const int Dune::Fem::GeometryInformation< GridImp, codim >::dim = GridType::dimension - codim
static

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