From e11250b0e68adab64ac7934144a4fa9be9239451 Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 29 Nov 2020 00:07:26 +0100 Subject: [PATCH] Do not compute condition number --- .../validation/scripts/WaveSystemUpwind/WaveSystemUpwind.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) mode change 100644 => 100755 CDMATH/tests/validation/scripts/WaveSystemUpwind/WaveSystemUpwind.py diff --git a/CDMATH/tests/validation/scripts/WaveSystemUpwind/WaveSystemUpwind.py b/CDMATH/tests/validation/scripts/WaveSystemUpwind/WaveSystemUpwind.py old mode 100644 new mode 100755 index fe364e9..422315c --- a/CDMATH/tests/validation/scripts/WaveSystemUpwind/WaveSystemUpwind.py +++ b/CDMATH/tests/validation/scripts/WaveSystemUpwind/WaveSystemUpwind.py @@ -132,7 +132,7 @@ def jacobianMatrices(normal, coeff,scaling): A[0,i+1]= c0*normal[i]*coeff A[i+1,0]= c0*normal[i]*coeff - return (A-absA)/2 + return (A-absA)*0.5 def computeDivergenceMatrix(my_mesh,nbVoisinsMax,dt,scaling,test_bc): @@ -294,7 +294,6 @@ def WaveSystemVF(ntmax, tmax, cfl, my_mesh, output_freq, meshName, resolution,sc LS=cdmath.LinearSolver(divMat,Un+S*dt,iterGMRESMax, precision, "GMRES","ILU") else: LS=cdmath.LinearSolver(divMat,Vn+S*dt,iterGMRESMax, precision, "GMRES","ILU") - LS.setComputeConditionNumber() test_desc["Linear_solver_algorithm"]=LS.getNameOfMethod() test_desc["Linear_solver_preconditioner"]=LS.getNameOfPc() @@ -336,7 +335,6 @@ def WaveSystemVF(ntmax, tmax, cfl, my_mesh, output_freq, meshName, resolution,sc test_desc["Linear_system_max_actual_iterations_number"]=max(LS.getNumberOfIter(),test_desc["Linear_system_max_actual_iterations_number"]) test_desc["Linear_system_max_actual_error"]=max(LS.getResidu(),test_desc["Linear_system_max_actual_error"]) - test_desc["Linear_system_max_actual_condition number"]=max(LS.getConditionNumber(),test_desc["Linear_system_max_actual_condition number"]) else: dUn=divMat*Un-S*dt -- 2.39.2