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

remove deflation timing

This commit is contained in:
James Richings 2021-11-09 20:46:57 +00:00
parent 402523c62e
commit 829a328451

View File

@ -74,21 +74,11 @@ public:
}
virtual void operator()(const Field &src,Field &guess) {
GridStopWatch w1;
guess = Zero();
w1.Start();
for (int i=0;i<N;i++) {
const Field& tmp = evec[i];
axpy(guess,TensorRemove(innerProduct(tmp,src)) / eval[i],tmp,guess);
}
w1.Stop();
guess.Checkerboard() = src.Checkerboard();
std::cout << GridLogDebug << "This projection took: " << w1.Elapsed() << std::endl;
}
};