SpECTRE  v2025.01.30
control_system::protocols::Measurement Struct Reference

Definition of a measurement for the control systems. More...

#include <Measurement.hpp>

Classes

struct  test
 

Detailed Description

Definition of a measurement for the control systems.

A class conforming to this protocol is referenced from each control system to define measurements to be made. Multiple control systems can share the same measurement.

A conforming class must provide a submeasurements type alias to a tmpl::list of structs conforming to the Submeasurement protocol.

Here's an example for a class conforming to this protocol:

struct ExampleMeasurement
: tt::ConformsTo<control_system::protocols::Measurement> {
using submeasurements = tmpl::list<ExampleSubmeasurement>;
};
Indicate a class conforms to the Protocol.
Definition: ProtocolHelpers.hpp:22

A measurement may optionally specify a const_global_cache_tags type alias that is a list of the tags to add to the const GlobalCache.


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