1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 15:55:37 +00:00

Correct function signature of body of GMRES outer loop

This commit is contained in:
Daniel Richtmann 2017-11-06 17:12:38 +01:00
parent b3be9195b4
commit fc7d07ade0
No known key found for this signature in database
GPG Key ID: B33C490AF0772057

View File

@ -323,7 +323,7 @@ class GeneralisedMinimalResidual : public OperatorFunction<Field> {
int iterations = 0;
for (int k=0; k<MaxIterations; k++) {
cp = outerLoopBody();
cp = outerLoopBody(Linop, src, psi, rsd_sq);
// Stopping condition
if (cp <= rsd_sq) {
@ -357,7 +357,7 @@ class GeneralisedMinimalResidual : public OperatorFunction<Field> {
assert(0);
}
RealD outerLoopBody() {
RealD outerLoopBody(LinearOperatorBase<Field> &Linop, const Field &src, Field &psi, RealD rsd_sq) {
}
void Step() {