dune-geometry 3.0-git
Classes | Enumerations | Functions
Dune::GenericGeometry Namespace Reference

Classes

struct  BaseTopology
 
struct  BaseTopology< Prism< Base > >
 
struct  BaseTopology< Pyramid< Base > >
 
class  CodimTable
 
class  CodimTable< Element, -1 >
 
struct  Convert
 
struct  Convert< GeometryType ::cube, 0 >
 
struct  Convert< GeometryType ::cube, dim >
 
struct  Convert< GeometryType ::prism, dim >
 
struct  Convert< GeometryType ::pyramid, dim >
 
struct  Convert< GeometryType ::simplex, 0 >
 
struct  Convert< GeometryType ::simplex, dim >
 
struct  CubeTopology
 
struct  CubeTopology< 0 >
 
struct  DuneCoordTraits
 
class  DuneGeometryType
 statically convert a generic topology type into a GeometryType More...
 
class  DuneGeometryType< Point, linetype >
 
class  DuneGeometryType< Prism< BaseTopology >, linetype >
 
class  DuneGeometryType< Pyramid< BaseTopology >, linetype >
 
class  DuneGeometryTypeProvider
 dynamically convert a generic topology type into a GeometryType More...
 
struct  FieldHelper
 
class  GenericSubTopologyNumbering
 
struct  GenericSubTopologyNumberingHelper
 
struct  GenericSubTopologyNumberingHelper< Prism< BaseTopology >, codim, subdim, 0 >
 
struct  GenericSubTopologyNumberingHelper< Prism< BaseTopology >, codim, subdim, subcodim >
 
struct  GenericSubTopologyNumberingHelper< Prism< BaseTopology >, codim, subdim, subdim >
 
struct  GenericSubTopologyNumberingHelper< Pyramid< BaseTopology >, codim, subdim, 0 >
 
struct  GenericSubTopologyNumberingHelper< Pyramid< BaseTopology >, codim, subdim, subcodim >
 
struct  GenericSubTopologyNumberingHelper< Pyramid< BaseTopology >, codim, subdim, subdim >
 
class  IfTopology
 
class  IfTopology< Operation, 0, Topology >
 
struct  IsCube
 
struct  IsGeneralizedPrism
 
struct  IsGeneralizedPrism< Prism< BaseTopology > >
 
struct  IsHybrid
 
struct  IsSimplex
 
struct  MatrixHelper
 
struct  Point
 
struct  Prism
 
struct  PrismTopology
 
struct  Pyramid
 
struct  PyramidTopology
 
struct  ReferenceDomain
 
class  ReferenceDomainBase
 
struct  ReferenceElement
 
struct  SimplexTopology
 
struct  SimplexTopology< 0 >
 
struct  Size
 Statically compute the number of subentities of a given codimension. More...
 
class  SizeImpl
 
class  SizeImpl< Point, dim, codim >
 
class  SizeImpl< Prism< BaseTopology >, dim, 0 >
 
class  SizeImpl< Prism< BaseTopology >, dim, codim >
 
class  SizeImpl< Prism< BaseTopology >, dim, dim >
 
class  SizeImpl< Pyramid< BaseTopology >, dim, 0 >
 
class  SizeImpl< Pyramid< BaseTopology >, dim, codim >
 
class  SizeImpl< Pyramid< BaseTopology >, dim, dim >
 
struct  SubTopology
 
class  SubTopologyImpl
 
class  SubTopologyImpl< Point, dim, codim, i >
 
class  SubTopologyImpl< Prism< BaseTopology >, dim, 0, i >
 
class  SubTopologyImpl< Prism< BaseTopology >, dim, codim, i >
 
class  SubTopologyImpl< Prism< BaseTopology >, dim, dim, i >
 
class  SubTopologyImpl< Pyramid< BaseTopology >, dim, 0, i >
 
class  SubTopologyImpl< Pyramid< BaseTopology >, dim, codim, i >
 
class  SubTopologyImpl< Pyramid< BaseTopology >, dim, dim, i >
 
class  SubTopologyMapper
 
class  SubTopologyNumbering
 
class  SubTopologySize
 
class  Topology
 
class  Topology< id, 0 >
 

Enumerations

enum  TopologyConstruction { pyramidConstruction = 0 , prismConstruction = 1 }
 

Functions

unsigned long referenceVolumeInverse (unsigned int topologyId, int dim)
 
template<class ct , int cdim>
bool checkInside (unsigned int topologyId, int dim, const FieldVector< ct, cdim > &x, ct tolerance, ct factor=ct(1))
 
template<class ct , int cdim>
unsigned int referenceCorners (unsigned int topologyId, int dim, FieldVector< ct, cdim > *corners)
 
template<class ct >
ct referenceVolume (unsigned int topologyId, int dim)
 
template<class ct , int cdim>
unsigned int referenceOrigins (unsigned int topologyId, int dim, int codim, FieldVector< ct, cdim > *origins)
 
template<class ct , int cdim, int mydim>
unsigned int referenceEmbeddings (unsigned int topologyId, int dim, int codim, FieldVector< ct, cdim > *origins, FieldMatrix< ct, mydim, cdim > *jacobianTransposeds)
 
template<class ct , int cdim>
unsigned int referenceIntegrationOuterNormals (unsigned int topologyId, int dim, const FieldVector< ct, cdim > *origins, FieldVector< ct, cdim > *normals)
 
template<class ct , int cdim>
unsigned int referenceIntegrationOuterNormals (unsigned int topologyId, int dim, FieldVector< ct, cdim > *normals)
 
unsigned int size (unsigned int topologyId, int dim, int codim)
 Compute the number of subentities of a given codimension.
 
unsigned int subTopologyId (unsigned int topologyId, int dim, int codim, unsigned int i)
 Compute the topology id of a given subentity.
 
void subTopologyNumbering (unsigned int topologyId, int dim, int codim, unsigned int i, int subcodim, unsigned int *beginOut, unsigned int *endOut)
 
unsigned int numTopologies (int dim)
 obtain the number of topologies of a given dimension
 
bool isPyramid (unsigned int topologyId, int dim, int codim=0)
 check whether a pyramid construction was used to create a given codimension
 
bool isPrism (unsigned int topologyId, int dim, int codim=0)
 check whether a prism construction was used to create a given codimension
 
bool isTopology (TopologyConstruction construction, unsigned int topologyId, int dim, int codim=0)
 check whether a specific topology construction was used to create a given codimension
 
unsigned int baseTopologyId (unsigned int topologyId, int dim, int codim=1)
 obtain the base topology of a given codimension
 

Enumeration Type Documentation

◆ TopologyConstruction

Enumerator
pyramidConstruction 
prismConstruction 

Function Documentation

◆ baseTopologyId()

unsigned int Dune::GenericGeometry::baseTopologyId ( unsigned int  topologyId,
int  dim,
int  codim = 1 
)
inline

obtain the base topology of a given codimension

Parameters
[in]topologyIdid of the topology
[in]dimdimension of the topology
[in]codimcodimension for which the information is desired (defaults to 1)

◆ checkInside()

template<class ct , int cdim>
bool Dune::GenericGeometry::checkInside ( unsigned int  topologyId,
int  dim,
const FieldVector< ct, cdim > &  x,
ct  tolerance,
ct  factor = ct( 1 ) 
)
inline

◆ isPrism()

bool Dune::GenericGeometry::isPrism ( unsigned int  topologyId,
int  dim,
int  codim = 0 
)
inline

check whether a prism construction was used to create a given codimension

Parameters
[in]topologyIdid of the topology
[in]dimdimension of the topology
[in]codimcodimension for which the information is desired (defaults to 0)
Returns
true, if a prism construction was used to generate the codimension the topology.

◆ isPyramid()

bool Dune::GenericGeometry::isPyramid ( unsigned int  topologyId,
int  dim,
int  codim = 0 
)
inline

check whether a pyramid construction was used to create a given codimension

Parameters
[in]topologyIdid of the topology
[in]dimdimension of the topology
[in]codimcodimension for which the information is desired (defaults to 0)
Returns
true, if a pyramid construction was used to generate the codimension the topology.

◆ isTopology()

bool Dune::GenericGeometry::isTopology ( TopologyConstruction  construction,
unsigned int  topologyId,
int  dim,
int  codim = 0 
)
inline

check whether a specific topology construction was used to create a given codimension

Parameters
[in]constructionconstruction to check for
[in]topologyIdid of the topology
[in]dimdimension of the topology
[in]codimcodimension for which the information is desired (defaults to 0)
Returns
true, if construction was used to generate the codimension the topology.

◆ numTopologies()

unsigned int Dune::GenericGeometry::numTopologies ( int  dim)
inline

obtain the number of topologies of a given dimension

Note
Valid topology ids are 0,...,numTopologies(dim)-1.
Parameters
[in]dimdimension
Returns
number of topologies for the dimension

◆ referenceCorners()

template<class ct , int cdim>
unsigned int Dune::GenericGeometry::referenceCorners ( unsigned int  topologyId,
int  dim,
FieldVector< ct, cdim > *  corners 
)
inline

◆ referenceEmbeddings()

template<class ct , int cdim, int mydim>
unsigned int Dune::GenericGeometry::referenceEmbeddings ( unsigned int  topologyId,
int  dim,
int  codim,
FieldVector< ct, cdim > *  origins,
FieldMatrix< ct, mydim, cdim > *  jacobianTransposeds 
)
inline

◆ referenceIntegrationOuterNormals() [1/2]

template<class ct , int cdim>
unsigned int Dune::GenericGeometry::referenceIntegrationOuterNormals ( unsigned int  topologyId,
int  dim,
const FieldVector< ct, cdim > *  origins,
FieldVector< ct, cdim > *  normals 
)
inline

◆ referenceIntegrationOuterNormals() [2/2]

template<class ct , int cdim>
unsigned int Dune::GenericGeometry::referenceIntegrationOuterNormals ( unsigned int  topologyId,
int  dim,
FieldVector< ct, cdim > *  normals 
)
inline

◆ referenceOrigins()

template<class ct , int cdim>
unsigned int Dune::GenericGeometry::referenceOrigins ( unsigned int  topologyId,
int  dim,
int  codim,
FieldVector< ct, cdim > *  origins 
)
inline

◆ referenceVolume()

template<class ct >
ct Dune::GenericGeometry::referenceVolume ( unsigned int  topologyId,
int  dim 
)
inline

◆ referenceVolumeInverse()

unsigned long Dune::GenericGeometry::referenceVolumeInverse ( unsigned int  topologyId,
int  dim 
)

◆ size()

unsigned int Dune::GenericGeometry::size ( unsigned int  topologyId,
int  dim,
int  codim 
)

Compute the number of subentities of a given codimension.

◆ subTopologyId()

unsigned int Dune::GenericGeometry::subTopologyId ( unsigned int  topologyId,
int  dim,
int  codim,
unsigned int  i 
)

Compute the topology id of a given subentity.

Parameters
topologyIdTopology id of entity
dimDimension of entity
codimCodimension of the subentity that we are interested in
iNumber of the subentity that we are interested in

◆ subTopologyNumbering()

void Dune::GenericGeometry::subTopologyNumbering ( unsigned int  topologyId,
int  dim,
int  codim,
unsigned int  i,
int  subcodim,
unsigned int *  beginOut,
unsigned int *  endOut 
)