SpECTRE
v2025.03.17
|
Conforming types provide compile-time information for registering and deregistering array elements with other parallel components. More...
#include <RegistrationMetavariables.hpp>
Classes | |
struct | test |
Conforming types provide compile-time information for registering and deregistering array elements with other parallel components.
A class conforming to this protocol is placed in the metavariables to provide a list of element registrars for each array parallel component. The element registrars in the list must conform to the Parallel::protocols::ElementRegistrar
protocol.
The class conforming to this protocol must provide the following type alias:
element_registrars
: A tmpl::map
from parallel components to their list of element registrars. The element registrars in the typelist must conform to the Parallel::protocols::ElementRegistrar
protocol.Here is an example implementation of this protocol:
Parallel::Phase::Registration
phase of the parallel component instead of requiring the metavariables to provide a separate list.