From c515d069cdef2584e33e590cd12acd6249313d95 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Tue, 21 Jul 2015 12:13:03 +0900 Subject: [PATCH] Tweaks to subspace set up to put in g5 r5 hermiticity --- lib/algorithms/CoarsenedMatrix.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/algorithms/CoarsenedMatrix.h b/lib/algorithms/CoarsenedMatrix.h index e257294c..998292b2 100644 --- a/lib/algorithms/CoarsenedMatrix.h +++ b/lib/algorithms/CoarsenedMatrix.h @@ -117,15 +117,15 @@ namespace Grid { } Orthogonalise(); } - virtual void CreateSubspace(GridParallelRNG &RNG,LinearOperatorBase &hermop) { + virtual void CreateSubspace(GridParallelRNG &RNG,LinearOperatorBase &hermop,int nn=nbasis) { RealD scale; - ConjugateGradient CG(1.0e-4,10000); + ConjugateGradient CG(2.0e-3,10000); FineField noise(FineGrid); FineField Mn(FineGrid); - for(int b=0;b "< "<