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

Hadrons: scalar sources

This commit is contained in:
Antonin Portelli 2016-12-29 22:44:22 +01:00
parent 4c60e31070
commit bbc0eff078
2 changed files with 6 additions and 4 deletions

View File

@ -63,7 +63,7 @@ template <typename FImpl>
class TPoint: public Module<PointPar> class TPoint: public Module<PointPar>
{ {
public: public:
TYPE_ALIASES(FImpl,); FERM_TYPE_ALIASES(FImpl,);
public: public:
// constructor // constructor
TPoint(const std::string name); TPoint(const std::string name);
@ -79,6 +79,7 @@ public:
}; };
MODULE_REGISTER_NS(Point, TPoint<FIMPL>, MSource); MODULE_REGISTER_NS(Point, TPoint<FIMPL>, MSource);
MODULE_REGISTER_NS(ScalarPoint, TPoint<ScalarImplR>, MSource);
/****************************************************************************** /******************************************************************************
* TPoint template implementation * * TPoint template implementation *

View File

@ -67,7 +67,7 @@ template <typename FImpl>
class TZ2: public Module<Z2Par> class TZ2: public Module<Z2Par>
{ {
public: public:
TYPE_ALIASES(FImpl,); FERM_TYPE_ALIASES(FImpl,);
public: public:
// constructor // constructor
TZ2(const std::string name); TZ2(const std::string name);
@ -83,6 +83,7 @@ public:
}; };
MODULE_REGISTER_NS(Z2, TZ2<FIMPL>, MSource); MODULE_REGISTER_NS(Z2, TZ2<FIMPL>, MSource);
MODULE_REGISTER_NS(ScalarZ2, TZ2<ScalarImplR>, MSource);
/****************************************************************************** /******************************************************************************
* TZ2 template implementation * * TZ2 template implementation *