SpECTRE  v2021.12.06
control_system::OptionHolder< ControlSystem > Struct Template Reference

Holds all options for a single control system. More...

#include <Tags.hpp>


struct  Averager
struct  Controller
struct  TimescaleTuner

Public Types

using control_system = ControlSystem
using options = tmpl::list< Averager, Controller, TimescaleTuner >

Public Member Functions

 OptionHolder (::Averager< deriv_order > input_averager, ::Controller< deriv_order > input_controller, ::TimescaleTuner input_tuner)
 OptionHolder (const OptionHolder &)=default
OptionHolderoperator= (const OptionHolder &)=default
 OptionHolder (OptionHolder &&)=default
OptionHolderoperator= (OptionHolder &&)=default
void pup (PUP::er &p)

Public Attributes

::Averager< deriv_order > averager {}
::Controller< deriv_order > controller {}
::TimescaleTuner tuner {}

Static Public Attributes

static constexpr size_t deriv_order = control_system::deriv_order
static constexpr Options::String help = {"Options for a control system."}

Detailed Description

template<typename ControlSystem>
struct control_system::OptionHolder< ControlSystem >

Holds all options for a single control system.

This struct collects all the options for a given control system during option parsing. Then during initialization, the options can be retrieved via their public member names and assigned to their corresponding DataBox tags.

The documentation for this struct was generated from the following file: