mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-15 14:27:06 +01:00
Just commenting
This commit is contained in:
@ -161,7 +161,7 @@ class ConjugateGradient : public OperatorFunction<Field> {
|
|||||||
|
|
||||||
|
|
||||||
axpy(r, -a, mmp, r);// new residual r = r_old - a * Ap
|
axpy(r, -a, mmp, r);// new residual r = r_old - a * Ap
|
||||||
cp = norm2(r, ReprTest); // bookmarking this norm
|
cp = norm2(r, ReprTest); // bookkeeping this norm
|
||||||
if (ReproTest && !CGState.do_repro) {
|
if (ReproTest && !CGState.do_repro) {
|
||||||
CGState.residuals.push_back(cp); // save residuals state
|
CGState.residuals.push_back(cp); // save residuals state
|
||||||
std::cout << GridLogIterative << "ReproTest: Saving state" << std::endl;
|
std::cout << GridLogIterative << "ReproTest: Saving state" << std::endl;
|
||||||
|
Reference in New Issue
Block a user