Dune Core Modules (2.6.0)

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<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/2]

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/2]

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.111.3 (Nov 13, 23:29, 2024)