1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00
This commit is contained in:
Felix Erben 2019-03-25 15:45:35 +00:00
parent b3b9e608e1
commit 48b03c4590
2 changed files with 3 additions and 5 deletions

View File

@ -25,8 +25,7 @@ public:
GRID_SERIALIZABLE_CLASS_MEMBERS(NoisesPar, GRID_SERIALIZABLE_CLASS_MEMBERS(NoisesPar,
std::string, UniqueIdentifier, std::string, UniqueIdentifier,
int, nvec, int, nvec,
DistilParameters, Distil, DistilParameters, Distil);
unsigned int, i);
}; };
template <typename FImpl> template <typename FImpl>

View File

@ -19,7 +19,6 @@ class LoadPerambulatorPar: Serializable
public: public:
GRID_SERIALIZABLE_CLASS_MEMBERS(LoadPerambulatorPar, GRID_SERIALIZABLE_CLASS_MEMBERS(LoadPerambulatorPar,
std::string, PerambFileName, //stem!!! std::string, PerambFileName, //stem!!!
std::string, UniqueIdentifier,
int, nvec, int, nvec,
MDistil::DistilParameters, Distil); MDistil::DistilParameters, Distil);
}; };
@ -81,7 +80,7 @@ void TLoadPerambulator<FImpl>::setup(void)
const int Ns{Distil.Ns}; const int Ns{Distil.Ns};
std::array<std::string,6> sIndexNames{"Nt", "nvec", "LI", "nnoise", "Nt_inv", "SI"}; std::array<std::string,6> sIndexNames{"Nt", "nvec", "LI", "nnoise", "Nt_inv", "SI"};
envCreate(MDistil::Perambulator<SpinVector COMMA 6 COMMA sizeof(Real)>, getName() + "_perambulator_light", 1, envCreate(MDistil::Perambulator<SpinVector COMMA 6 COMMA sizeof(Real)>, getName(), 1,
sIndexNames,Distil.Nt,nvec,Distil.LI,Distil.nnoise,Distil.Nt_inv,Distil.SI); sIndexNames,Distil.Nt,nvec,Distil.LI,Distil.nnoise,Distil.Nt_inv,Distil.SI);
} }
@ -91,7 +90,7 @@ template <typename FImpl>
void TLoadPerambulator<FImpl>::execute(void) void TLoadPerambulator<FImpl>::execute(void)
{ {
auto &perambulator = envGet(MDistil::Perambulator<SpinVector COMMA 6 COMMA sizeof(Real)>, auto &perambulator = envGet(MDistil::Perambulator<SpinVector COMMA 6 COMMA sizeof(Real)>,
getName() + "_perambulator_light"); getName());
const std::string &PerambFileName{par().PerambFileName}; const std::string &PerambFileName{par().PerambFileName};