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

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

#include <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 std::decay_t< decltype(ReferenceElementsType::general(std::declval< const GeometryType & >))) > ReferenceElementType
 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 DomainType localCenter (const GeometryType &type) const
 return local bary center for geometry of type type More...
 
ctype referenceVolume (const GeometryType &type) const
 return volume of reference element for geometry of type type More...
 

Static Public Member Functions

static auto referenceElement (const GeometryType &type) -> decltype(ReferenceElementsType::general(type))
 return reference element for type More...
 

Static Public Attributes

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

Protected Types

typedef Dune::ReferenceElements< ctype, dimReferenceElementsType
 

Protected Member Functions

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

Protected Attributes

DomainType isNoneLocalCenter_
 

Detailed Description

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

ReferenceVolume and local bary center keeper class.

Member Typedef Documentation

◆ ctype

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

coordinate type

◆ DomainType

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

type of domain vector

◆ GridType

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

grid type

◆ ReferenceElementsType

template<class GridImp , int codim>
typedef Dune::ReferenceElements< ctype, dim > Dune::Fem::GeometryInformation< GridImp, codim >::ReferenceElementsType
protected

◆ ReferenceElementType

template<class GridImp , int codim>
typedef std::decay_t< decltype( ReferenceElementsType::general( std::declval< const GeometryType & >) ) ) > Dune::Fem::GeometryInformation< GridImp, codim >::ReferenceElementType

type of reference element

Constructor & Destructor Documentation

◆ GeometryInformation() [1/2]

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

constructor creating empty geometry information

◆ GeometryInformation() [2/2]

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

◆ buildMaps()

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

build maps

◆ localCenter()

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

◆ referenceElement()

template<class GridImp , int codim>
static auto Dune::Fem::GeometryInformation< GridImp, codim >::referenceElement ( const GeometryType &  type) -> decltype( ReferenceElementsType::general( type ) )
inlinestatic

return reference element for type

◆ referenceVolume()

template<class GridImp , int codim>
ctype Dune::Fem::GeometryInformation< GridImp, codim >::referenceVolume ( const GeometryType &  type) const
inline

return volume of reference element for geometry of type type

Member Data Documentation

◆ dim

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

dimension

◆ isNoneLocalCenter_

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

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