From d6a2d734d3019e17dcee2c1a6c1a6a9f46f0070e Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Wed, 22 Jul 2015 00:30:05 +0900 Subject: [PATCH] 5x speed up now --- tests/Test_dwf_hdcr.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/Test_dwf_hdcr.cc b/tests/Test_dwf_hdcr.cc index 488f7277..ebdf68c8 100644 --- a/tests/Test_dwf_hdcr.cc +++ b/tests/Test_dwf_hdcr.cc @@ -276,15 +276,15 @@ public: HermitianLinearOperator HermOp(_CoarseOperator); MdagMLinearOperator MdagMOp(_CoarseOperator); // MdagMLinearOperator fMdagMOp(_Matrix); - ShiftedMdagMLinearOperator fMdagMOp(_Matrix,0.5); + ShiftedMdagMLinearOperator fMdagMOp(_Matrix,1.0); FineField vec1(in._grid); FineField vec2(in._grid); // Chebyshev Cheby (0.5,70.0,30,InverseApproximation); // Chebyshev ChebyAccu(0.5,70.0,30,InverseApproximation); - Chebyshev Cheby (1.0,70.0,20,InverseApproximation); - Chebyshev ChebyAccu(1.0,70.0,20,InverseApproximation); + Chebyshev Cheby (2.0,70.0,10,InverseApproximation); + Chebyshev ChebyAccu(2.0,70.0,10,InverseApproximation); _Aggregates.ProjectToSubspace (Csrc,in); _Aggregates.PromoteFromSubspace(Csrc,out); @@ -477,8 +477,8 @@ int main (int argc, char ** argv) std::cout << "Unprec CG "<< std::endl; std::cout << "**************************************************"<< std::endl; // TrivialPrecon simple; - ConjugateGradient fCG(1.0e-8,100000); - fCG(HermDefOp,src,result); + // ConjugateGradient fCG(1.0e-8,100000); + // fCG(HermDefOp,src,result); // exit(0); std::cout << "**************************************************"<< std::endl;