mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
Conserved current sequential source now registered properly and fixed module inputs.
This commit is contained in:
parent
d2003f24f4
commit
a6ccbbe108
@ -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 ///////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user