1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-07-08 17:37:05 +01:00

Variable preconditioned GCR with restarting.

Orthogonalisation depth and restart frequency is controllable via constructor
This commit is contained in:
Azusa Yamaguchi
2015-06-21 10:58:46 +01:00
parent bcf1d5160f
commit 945bb93e48
9 changed files with 222 additions and 72 deletions

View File

@ -207,6 +207,11 @@ namespace Grid {
virtual void operator() (LinearOperatorBase<Field> &Linop, const Field &in, Field &out) = 0;
};
template<class Field> class LinearFunction {
public:
virtual void operator() (const Field &in, Field &out) = 0;
};
/////////////////////////////////////////////////////////////
// Base classes for Multishift solvers for operators
/////////////////////////////////////////////////////////////