19 #include <momemta/ModuleRegistry.h> 21 #define REGISTER_INTERNAL_MODULE(name) \ 22 REGISTER_INTERNAL_MODULE_UNIQ_HELPER(__LINE__, "_" name) 23 #define REGISTER_INTERNAL_MODULE_UNIQ_HELPER(ctr, name) REGISTER_INTERNAL_MODULE_UNIQ(ctr, name) 24 #define REGISTER_INTERNAL_MODULE_UNIQ(ctr, name) \ 25 static const ::momemta::registration::ModuleDefBuilderReceiver register_module##ctr = \ 26 ::momemta::registration::ModuleDefBuilder(name) 28 REGISTER_INTERNAL_MODULE(
"cuba")
32 REGISTER_INTERNAL_MODULE(
"met")
35 REGISTER_INTERNAL_MODULE(
"input")
39 REGISTER_INTERNAL_MODULE(
"momemta")
40 .Inputs(
"integrands");