DUNE-FEM (unstable)

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>

Public Types

typedef GridType::ctype ctype
 coordinate type
 
typedef std::decay_t< decltype(ReferenceElementsType::general(std::declval< const GeometryType & >())) > ReferenceElementType
 type of reference element
 
typedef FieldVector< ctype, dimDomainType
 type of domain vector
 

Public Member Functions

 AllGeomTypes (const IndexSetType &indexSet)
 constructor storing index set reference
 
const std ::vector< GeometryType > & geomTypes (unsigned int codim) const
 returns vector with geometry tpyes this index set has indices for
 
const DomainType localCenter (const GeometryType &type) const
 return local bary center for geometry of type type
 
ctype referenceVolume (const GeometryType &type) const
 return volume of reference element for geometry of type type
 

Static Public Member Functions

static bool multipleGeomTypes ()
 UGGrid might have different geom types.
 
static auto referenceElement (const GeometryType &type) -> decltype(ReferenceElementsType::general(type))
 return reference element for type
 

Static Public Attributes

static const int dim
 dimension
 

Protected Member Functions

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

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.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Jul 27, 22:29, 2024)