1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-05 11:45:56 +01:00

Make MR a bit more verbose

This commit is contained in:
Daniel Richtmann 2017-10-27 14:45:29 +02:00
parent e7b1933e88
commit 54128d579a
No known key found for this signature in database
GPG Key ID: B33C490AF0772057

View File

@ -72,6 +72,11 @@ template<class Field> class MinimalResidual : public OperatorFunction<Field> {
RealD cp = norm2(r); // Cp = |r[0]|^2 // 2 Nc Ns flops // flopcount.addSiteFlops(4*Nc*Ns, s);
std::cout << GridLogIterative << std::setprecision(4) << "MinimalResidual: guess " << guess << std::endl;
std::cout << GridLogIterative << std::setprecision(4) << "MinimalResidual: src " << ssq << std::endl;
std::cout << GridLogIterative << std::setprecision(4) << "MinimalResidual: mp " << d << std::endl;
std::cout << GridLogIterative << std::setprecision(4) << "MinimalResidual: cp,r " << cp << std::endl;
if (cp <= rsd_sq) {
return;
}