SpECTRE
v2024.12.16
|
Compile-time information for factory-creation. More...
#include <FactoryCreation.hpp>
Classes | |
struct | test |
Compile-time information for factory-creation.
A class conforming to this protocol is placed in the metavariables to provide information on the set of derived classes for each factory-creatable base class. The conforming class must provide the following type aliases:
factory_classes
: A tmpl::map
from the base class to the list of derived classes. List all derived classes that should be factory-creatable, e.g. through input-file options.Here's an example for a class conforming to this protocol: