mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-17 07:17:06 +01:00
Hadrons: big update after templating of get/createGrid
This commit is contained in:
@ -66,7 +66,7 @@ template <typename FImpl>
|
||||
class TZ2: public Module<Z2Par>
|
||||
{
|
||||
public:
|
||||
FERM_TYPE_ALIASES(FImpl,);
|
||||
BASIC_TYPE_ALIASES(FImpl,);
|
||||
public:
|
||||
// constructor
|
||||
TZ2(const std::string name);
|
||||
@ -120,7 +120,7 @@ template <typename FImpl>
|
||||
void TZ2<FImpl>::setup(void)
|
||||
{
|
||||
envCreateLat(PropagatorField, getName());
|
||||
envCacheLat(Lattice<iScalar<vInteger>>, tName_);
|
||||
envCache(Lattice<iScalar<vInteger>>, tName_, 1, env().getGrid());
|
||||
envTmpLat(LatticeComplex, "eta");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user