dune-geometry  2.5-git
Classes | Enumerations | Functions
Dune::Impl Namespace Reference

Classes

struct  CubeTopology
 
struct  CubeTopology< 0 >
 
struct  FieldMatrixHelper
 
struct  IfTopology
 
struct  IfTopology< Operation, 0, Topology >
 
struct  IsCube
 
struct  IsSimplex
 
struct  Point
 
struct  Prism
 
struct  PrismTopology
 
struct  Pyramid
 
struct  PyramidTopology
 
struct  SimplexTopology
 
struct  SimplexTopology< 0 >
 

Enumerations

enum  TopologyConstruction { pyramidConstruction = 0, prismConstruction = 1 }
 

Functions

unsigned int size (unsigned int topologyId, int dim, int codim)
 Compute the number of subentities of a given codimension. More...
 
unsigned int subTopologyId (unsigned int topologyId, int dim, int codim, unsigned int i)
 Compute the topology id of a given subentity. More...
 
void subTopologyNumbering (unsigned int topologyId, int dim, int codim, unsigned int i, int subcodim, unsigned int *beginOut, unsigned int *endOut)
 
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)
 
static unsigned int numTopologies (int dim) noexcept
 obtain the number of topologies of a given dimension More...
 
static bool isPyramid (unsigned int topologyId, int dim, int codim=0) noexcept
 check whether a pyramid construction was used to create a given codimension More...
 
static bool isPrism (unsigned int topologyId, int dim, int codim=0) noexcept
 check whether a prism construction was used to create a given codimension More...
 
static bool isTopology (TopologyConstruction construction, unsigned int topologyId, int dim, int codim=0) noexcept
 check whether a specific topology construction was used to create a given codimension More...
 
static unsigned int baseTopologyId (unsigned int topologyId, int dim, int codim=1) noexcept
 obtain the base topology of a given codimension More...
 

Enumeration Type Documentation

§ TopologyConstruction

Enumerator
pyramidConstruction 
prismConstruction 

Function Documentation

§ baseTopologyId()

static unsigned int Dune::Impl::baseTopologyId ( unsigned int  topologyId,
int  dim,
int  codim = 1 
)
inlinestaticnoexcept

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::Impl::checkInside ( unsigned int  topologyId,
int  dim,
const FieldVector< ct, cdim > &  x,
ct  tolerance,
ct  factor = ct( 1 ) 
)
inline

§ isPrism()

static bool Dune::Impl::isPrism ( unsigned int  topologyId,
int  dim,
int  codim = 0 
)
inlinestaticnoexcept

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()

static bool Dune::Impl::isPyramid ( unsigned int  topologyId,
int  dim,
int  codim = 0 
)
inlinestaticnoexcept

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()

static bool Dune::Impl::isTopology ( TopologyConstruction  construction,
unsigned int  topologyId,
int  dim,
int  codim = 0 
)
inlinestaticnoexcept

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()

static unsigned int Dune::Impl::numTopologies ( int  dim)
inlinestaticnoexcept

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::Impl::referenceCorners ( unsigned int  topologyId,
int  dim,
FieldVector< ct, cdim > *  corners 
)
inline

§ referenceEmbeddings()

template<class ct , int cdim, int mydim>
unsigned int Dune::Impl::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::Impl::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::Impl::referenceIntegrationOuterNormals ( unsigned int  topologyId,
int  dim,
FieldVector< ct, cdim > *  normals 
)
inline

§ referenceOrigins()

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

§ referenceVolume()

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

§ referenceVolumeInverse()

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

§ size()

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

Compute the number of subentities of a given codimension.

§ subTopologyId()

unsigned int Dune::Impl::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::Impl::subTopologyNumbering ( unsigned int  topologyId,
int  dim,
int  codim,
unsigned int  i,
int  subcodim,
unsigned int *  beginOut,
unsigned int *  endOut 
)