|
SpECTRE
v2026.04.01
|
Definition of a portion of a measurement for the control systems. More...
#include <Submeasurement.hpp>
Classes | |
| struct | test |
Definition of a portion of a measurement for the control systems.
These structs are referenced from structs conforming to the Measurement protocol. They define independent parts of a control system measurement, such as individual horizon-finds in a two-horizon measurement.
A conforming struct must provide
The event will be run on every element, and they must collectively result in a single call on one chare (which need not be one of the element chares) to control_system::RunCallbacks<ConformingStructBeingDefinedHere, ControlSystems>::apply. This will almost always require performing a reduction. The ControlSystems template parameter passed to RunCallbacks here must be the same type that was passed to the interpolation_target_tag (or horizon_metavars) and event type aliases. The ControlSystems template parameter will be a list of all control systems that use the same Submeasurement.
Here's an example for a class conforming to this protocol: