SpECTRE  v2024.05.11
Parallel::charmxx::RegisterCharmMessage< MessageType > Struct Template Reference

Class used for automatic registration of Charm++ messages. More...

#include <CharmRegistration.hpp>

Static Public Member Functions

static void register_with_charm ()
 

Detailed Description

template<typename MessageType>
struct Parallel::charmxx::RegisterCharmMessage< MessageType >

Class used for automatic registration of Charm++ messages.

Entry methods that use Charm++ messages are responsible for registering those messages by calling the static register_with_charm() function of this struct. Because an entry method can be templated on the message type, we don't want to accidentally register the same message-type twice. This struct will take care of that, rather than having the logic in the entry method registration logic.


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