1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-17 15:27:06 +01:00

some cleanup, but hard-coded src in LapEvec unclear

This commit is contained in:
Felix Erben
2019-10-31 11:51:05 +00:00
parent 4ed9379535
commit 5c54f27ac1
4 changed files with 4 additions and 10 deletions

View File

@ -51,7 +51,7 @@ BEGIN_MODULE_NAMESPACE(MDistil)
struct StoutParameters: Serializable {
GRID_SERIALIZABLE_CLASS_MEMBERS(StoutParameters,
int, steps,
double, rho) // TODO: change name of this to rho
double, rho)
StoutParameters() = default;
template <class ReaderClass> StoutParameters(Reader<ReaderClass>& Reader){read(Reader,"StoutSmearing",*this);}
};
@ -243,7 +243,7 @@ void TLapEvec<GImpl>::execute(void)
Chebyshev<LatticeColourVector> Cheb(ChebPar.alpha,ChebPar.beta,ChebPar.PolyOrder);
// Construct source vector according to Test_dwf_compressed_lanczos.cc
src = 11.0;
src = 11.0; //TODO: Why hard-coded 11?
RealD nn = norm2(src);
nn = Grid::sqrt(nn);
src = src * (1.0/nn);