SpECTRE
v2025.03.17
|
Class used for registering custom reduction function. More...
#include <CharmRegistration.hpp>
Static Public Attributes | |
static bool | registrar |
Class used for registering custom reduction function.
The static member variable is initialized before main is entered. This means we are able to inject code into the beginning of the execution of an executable by "using" the variable (casting to void counts) the function that initializes the variable is called. We "use" registrar
inside the Parallel::contribute_to_reduction
function.
|
static |