mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 13:40:46 +01:00
Some minor formatting improvements
This commit is contained in:
parent
c63095345e
commit
8402ab6cf9
@ -59,11 +59,11 @@ class FlexibleGeneralisedMinimalResidual : public OperatorFunction<Field> {
|
|||||||
|
|
||||||
LinearFunction<Field> &Preconditioner;
|
LinearFunction<Field> &Preconditioner;
|
||||||
|
|
||||||
FlexibleGeneralisedMinimalResidual(RealD tol,
|
FlexibleGeneralisedMinimalResidual(RealD tol,
|
||||||
Integer maxit,
|
Integer maxit,
|
||||||
LinearFunction<Field> &Prec,
|
LinearFunction<Field> &Prec,
|
||||||
Integer restart_length,
|
Integer restart_length,
|
||||||
bool err_on_no_conv = true)
|
bool err_on_no_conv = true)
|
||||||
: Tolerance(tol)
|
: Tolerance(tol)
|
||||||
, MaxIterations(maxit)
|
, MaxIterations(maxit)
|
||||||
, RestartLength(restart_length)
|
, RestartLength(restart_length)
|
||||||
|
@ -79,7 +79,7 @@ class GeneralisedMinimalResidual : public OperatorFunction<Field> {
|
|||||||
assert(std::isnan(guess) == 0);
|
assert(std::isnan(guess) == 0);
|
||||||
|
|
||||||
RealD cp;
|
RealD cp;
|
||||||
RealD ssq = norm2(src);
|
RealD ssq = norm2(src);
|
||||||
RealD rsq = Tolerance * Tolerance * ssq;
|
RealD rsq = Tolerance * Tolerance * ssq;
|
||||||
|
|
||||||
Field r(src._grid);
|
Field r(src._grid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user