dune-fem  2.8-git
Classes | 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::AllGeomTypes< IndexSetImp, GridImp > Class Template Reference

default implementation uses method geomTypes of given index set. Used in DiscreteFunctionSpaces. More...

#include <dune/fem/space/common/allgeomtypes.hh>

Inheritance diagram for Dune::Fem::AllGeomTypes< IndexSetImp, GridImp >:
Inheritance graph

Classes

struct  InsertGeometryTypes
 

Public Types

typedef IndexSetImp IndexSetType
 
typedef GridImp GridType
 
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

 AllGeomTypes (const IndexSetType &indexSet)
 constructor storing index set reference More...
 
const std ::vector< GeometryType > & geomTypes (unsigned int codim) const
 returns vector with geometry tpyes this index set has indices for 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 bool multipleGeomTypes ()
 UGGrid might have different geom types. More...
 
static auto referenceElement (const GeometryType &type) -> decltype(ReferenceElementsType::general(type))
 return reference element for type More...
 

Static Public Attributes

static const int dim
 dimension More...
 

Protected Types

typedef Dune::ReferenceElements< ctype, dimReferenceElementsType
 

Protected Member Functions

void buildMaps (const std::vector< GeometryType > &geomTypes)
 build maps More...
 

Protected Attributes

std::vector< std::vector< GeometryType > > geomTypes_
 
DomainType isNoneLocalCenter_
 

Detailed Description

template<class IndexSetImp, class GridImp>
class Dune::Fem::AllGeomTypes< IndexSetImp, GridImp >

default implementation uses method geomTypes of given index set. Used in DiscreteFunctionSpaces.

Member Typedef Documentation

◆ ctype

typedef GridType::ctype Dune::Fem::GeometryInformation< GridImp, codim >::ctype
inherited

coordinate type

◆ DomainType

typedef FieldVector<ctype, dim> Dune::Fem::GeometryInformation< GridImp, codim >::DomainType
inherited

type of domain vector

◆ GridType

template<class IndexSetImp , class GridImp >
typedef GridImp Dune::Fem::AllGeomTypes< IndexSetImp, GridImp >::GridType

◆ IndexSetType

template<class IndexSetImp , class GridImp >
typedef IndexSetImp Dune::Fem::AllGeomTypes< IndexSetImp, GridImp >::IndexSetType

◆ ReferenceElementsType

typedef Dune::ReferenceElements< ctype, dim > Dune::Fem::GeometryInformation< GridImp, codim >::ReferenceElementsType
protectedinherited

◆ ReferenceElementType

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

type of reference element

Constructor & Destructor Documentation

◆ AllGeomTypes()

template<class IndexSetImp , class GridImp >
Dune::Fem::AllGeomTypes< IndexSetImp, GridImp >::AllGeomTypes ( const IndexSetType indexSet)
inlineexplicit

constructor storing index set reference

Member Function Documentation

◆ buildMaps()

void Dune::Fem::GeometryInformation< GridImp, codim >::buildMaps ( const std::vector< GeometryType > &  geomTypes)
inlineprotectedinherited

build maps

◆ geomTypes()

template<class IndexSetImp , class GridImp >
const std :: vector< GeometryType >& Dune::Fem::AllGeomTypes< IndexSetImp, GridImp >::geomTypes ( unsigned int  codim) const
inline

returns vector with geometry tpyes this index set has indices for

◆ localCenter()

const DomainType Dune::Fem::GeometryInformation< GridImp, codim >::localCenter ( const GeometryType &  type) const
inlineinherited

return local bary center for geometry of type type

◆ multipleGeomTypes()

template<class IndexSetImp , class GridImp >
static bool Dune::Fem::AllGeomTypes< IndexSetImp, GridImp >::multipleGeomTypes ( )
inlinestatic

UGGrid might have different geom types.

◆ referenceElement()

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

return reference element for type

◆ referenceVolume()

ctype Dune::Fem::GeometryInformation< GridImp, codim >::referenceVolume ( const GeometryType &  type) const
inlineinherited

return volume of reference element for geometry of type type

Member Data Documentation

◆ dim

const int Dune::Fem::GeometryInformation< GridImp, codim >::dim
staticinherited

dimension

◆ geomTypes_

template<class IndexSetImp , class GridImp >
std::vector< std::vector< GeometryType > > Dune::Fem::AllGeomTypes< IndexSetImp, GridImp >::geomTypes_
protected

◆ isNoneLocalCenter_

DomainType Dune::Fem::GeometryInformation< GridImp, codim >::isNoneLocalCenter_
protectedinherited

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