SpECTRE
v2025.03.17
|
Tag that holds a map between control system name and whether that control system is active. Can be used in the GlobalCache. More...
#include <IsActiveMap.hpp>
Classes | |
struct | system |
Public Types | |
using | type = std::unordered_map< std::string, bool > |
template<typename Metavariables > | |
using | option_tags = control_system::inputs< tmpl::transform< metafunctions::all_control_components< Metavariables >, system< tmpl::_1 > > > |
Static Public Member Functions | |
template<typename Metavariables , typename... OptionHolders> | |
static type | create_from_options (const Options::Auto< OptionHolders, Options::AutoLabel::None > &... option_holders) |
template<typename Metavariables , typename... OptionHolders> | |
static type | create_from_options (const std::optional< OptionHolders > &... option_holders) |
Static Public Attributes | |
static constexpr bool | pass_metavariables = true |
Tag that holds a map between control system name and whether that control system is active. Can be used in the GlobalCache.
This effectively lets us choose control systems at runtime. The OptionHolder has an option for whether the control system is active.