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:
@@ -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_
|
||||
|
Reference in New Issue
Block a user