Dune Core Modules (unstable)

Dune::TopologySingletonFactory< Factory > Struct Template Reference

A wrapper for a TopologyFactory providing singleton storage. Same usage as TopologyFactory but with empty release method an internal storage. More...

#include <dune/geometry/topologyfactory.hh>

Static Public Member Functions

static Object * create (const Dune::GeometryType &gt, const Key &key)
 dynamically create objects More...
 
template<GeometryType::Id geometryId>
static auto create (const Key &key) -> std::enable_if_t< static_cast< GeometryType >(geometryId).dim()==dimension, Object * >
 statically create objects More...
 
template<class Topology >
static auto create (const Key &key) -> std::enable_if_t< Topology::dimension==dimension, Object * >
 statically create objects More...
 
static void release (Object *object)
 release the object returned by the create methods More...
 

Detailed Description

template<class Factory>
struct Dune::TopologySingletonFactory< Factory >

A wrapper for a TopologyFactory providing singleton storage. Same usage as TopologyFactory but with empty release method an internal storage.

Member Function Documentation

◆ create() [1/3]

template<class Factory >
static Object* Dune::TopologySingletonFactory< Factory >::create ( const Dune::GeometryType gt,
const Key &  key 
)
inlinestatic

dynamically create objects

References Dune::FloatCmp::gt().

◆ create() [2/3]

template<class Factory >
template<GeometryType::Id geometryId>
static auto Dune::TopologySingletonFactory< Factory >::create ( const Key &  key) -> std::enable_if_t< static_cast<GeometryType>(geometryId).dim() == dimension, Object * >
inlinestatic

statically create objects

◆ create() [3/3]

template<class Factory >
template<class Topology >
static auto Dune::TopologySingletonFactory< Factory >::create ( const Key &  key) -> std::enable_if_t< Topology::dimension == dimension, Object * >
inlinestatic

statically create objects

◆ release()

template<class Factory >
static void Dune::TopologySingletonFactory< Factory >::release ( Object *  object)
inlinestatic

release the object returned by the create methods


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.80.0 (Apr 19, 22:31, 2024)