1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00: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);
@ -78,7 +78,8 @@ public:
virtual void execute(void); virtual void execute(void);
}; };
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);
@ -82,7 +82,8 @@ public:
virtual void execute(void); virtual void execute(void);
}; };
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 *