1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01:00

Conserved current sequential source now registered properly and fixed module inputs.

This commit is contained in:
Lanny91 2017-04-28 10:43:47 +01:00
parent d2003f24f4
commit a6ccbbe108

View File

@ -104,7 +104,7 @@ TSeqConserved<FImpl>::TSeqConserved(const std::string name)
template <typename FImpl>
std::vector<std::string> TSeqConserved<FImpl>::getInput(void)
{
std::vector<std::string> in;
std::vector<std::string> in = {par().q, par().action};
return in;
}
@ -121,7 +121,8 @@ std::vector<std::string> TSeqConserved<FImpl>::getOutput(void)
template <typename FImpl>
void TSeqConserved<FImpl>::setup(void)
{
auto Ls_ = env().getObjectLs(par().action);
env().template registerLattice<PropagatorField>(getName(), Ls_);
}
// execution ///////////////////////////////////////////////////////////////////