DUNE PDELab (2.8)

Dune::MultiLinearGeometryTraits< ct >::hasSingleGeometryType< dim > Struct Template Reference

will there be only one geometry type for a dimension? More...

#include <dune/geometry/multilineargeometry.hh>

Detailed Description

template<class ct>
template<int dim>
struct Dune::MultiLinearGeometryTraits< ct >::hasSingleGeometryType< dim >

will there be only one geometry type for a dimension?

If there is only a single geometry type for a certain dimension, hasSingleGeometryType::v can be set to true. Supporting only one geometry type might yield a gain in performance.

If hasSingleGeometryType::v is set to true, an additional parameter topologyId is required. Here's an example:

static const unsigned int topologyId = GeometryTypes::simplex(dim).id();
constexpr unsigned int id() const
Return the topology id of the type.
Definition: type.hh:374
constexpr GeometryType simplex(unsigned int dim)
Returns a GeometryType representing a simplex of dimension dim.
Definition: type.hh:461

The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 21, 23:30, 2024)