SpECTRE
v2024.09.29
|
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 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.