1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-08-01 04:07:07 +01:00

Hadrons: modules remember their factory registration name

This commit is contained in:
2016-12-14 17:59:45 +00:00
parent 013e710c7d
commit 3af663e17b
17 changed files with 87 additions and 74 deletions

View File

@@ -80,6 +80,8 @@ public:
virtual void execute(void);
};
MODULE_REGISTER_NS(Z2, TZ2<FIMPL>, MSource);
/******************************************************************************
* TZ2 template implementation *
******************************************************************************/
@@ -140,12 +142,8 @@ void TZ2<FImpl>::execute(void)
src = src*eta;
}
typedef TZ2<FIMPL> Z2;
END_MODULE_NAMESPACE
MODULE_REGISTER_NS(Z2, MSource);
END_HADRONS_NAMESPACE
#endif // Hadrons_Z2_hpp_