mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
remove deflation timing
This commit is contained in:
parent
402523c62e
commit
829a328451
@ -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;
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user