dune-fem  2.4.1-rc
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | 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 </local/tomalk/somewhere/tmp/dune-fem/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 Dune::ReferenceElement< ctype, dimReferenceElementType
 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 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 bool multipleGeomTypes ()
 UGGrid might have different geom types. More...
 
static const ReferenceElementTypereferenceElement (const GeometryType &type)
 return reference element for type More...
 

Static Public Attributes

static const int dim
 dimension More...
 

Protected Member Functions

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

Protected Attributes

std::vector< std::vector< GeometryType > > geomTypes_
 

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

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

coordinate type

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

type of domain vector

template<class IndexSetImp, class GridImp>
typedef GridImp Dune::Fem::AllGeomTypes< IndexSetImp, GridImp >::GridType
template<class IndexSetImp, class GridImp>
typedef IndexSetImp Dune::Fem::AllGeomTypes< IndexSetImp, GridImp >::IndexSetType
typedef Dune::ReferenceElement< ctype, dim > Dune::Fem::GeometryInformation< GridImp, codim >::ReferenceElementType
inherited

type of reference element

Constructor & Destructor Documentation

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

constructor storing index set reference

Member Function Documentation

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

build maps

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

return local bary center for geometry of type type

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

UGGrid might have different geom types.

static const ReferenceElementType& Dune::Fem::GeometryInformation< GridImp, codim >::referenceElement ( const GeometryType &  type)
inlinestaticinherited

return reference element for type

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

return volume of reference element for geometry of type type

Member Data Documentation

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

dimension

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

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