From ba108de0db64f026ccbda93fc2e8fd1aeb5e5aab Mon Sep 17 00:00:00 2001
From: Carl-Martin Pfeiler <carl-martin.pfeiler@asc.tuwien.ac.at>
Date: Fri, 8 Feb 2019 16:15:53 +0100
Subject: [PATCH] TUNE TPS2; e) use Preconditioner

---
 integrators/tps2.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/integrators/tps2.py b/integrators/tps2.py
index 729281b..ad55678 100644
--- a/integrators/tps2.py
+++ b/integrators/tps2.py
@@ -235,7 +235,7 @@ class TPS2(_tpsx.TPSX, \
       RHS = self._Q.dot( f )
     
       w, succ = scipy.sparse.linalg.gmres(self._LHS, RHS , x0=None \
-        , tol=self._solvetol, maxiter=4000, M=None)
+        , tol=self._solvetol, maxiter=4000, M=self._preconditioner)
       self._Mag.v.gf.vec.FV().NumPy()[:] = self._Q.transpose().dot(w)
     
       diff_gf.vec.FV().NumPy()[:] = self._Mag.v.gf.vec.FV().NumPy()-oldIterate
-- 
GitLab