[cig-commits] r19176 - in short/3D/PyLith/branches/v1.6-stable: pylith/tests tests_auto/2d/quad4

brad at geodynamics.org brad at geodynamics.org
Thu Nov 10 10:58:29 PST 2011


Author: brad
Date: 2011-11-10 10:58:29 -0800 (Thu, 10 Nov 2011)
New Revision: 19176

Modified:
   short/3D/PyLith/branches/v1.6-stable/pylith/tests/Fault.py
   short/3D/PyLith/branches/v1.6-stable/tests_auto/2d/quad4/friction_opening.cfg
   short/3D/PyLith/branches/v1.6-stable/tests_auto/2d/quad4/slipweakening_opening.cfg
Log:
Fixed tolerances for friction full-scale tests. Fixed routine for testing fault data to include nondimensionaliation of trictions in check.

Modified: short/3D/PyLith/branches/v1.6-stable/pylith/tests/Fault.py
===================================================================
--- short/3D/PyLith/branches/v1.6-stable/pylith/tests/Fault.py	2011-11-10 17:53:48 UTC (rev 19175)
+++ short/3D/PyLith/branches/v1.6-stable/pylith/tests/Fault.py	2011-11-10 18:58:29 UTC (rev 19176)
@@ -58,7 +58,7 @@
     testcase.assertEqual(dimE, dim)
 
     scale = 1.0
-    if name == "traction_change":
+    if name == "traction_change" or name == "traction":
       scale *= normalizer.pressureScale().value
 
     for i in xrange(dim):

Modified: short/3D/PyLith/branches/v1.6-stable/tests_auto/2d/quad4/friction_opening.cfg
===================================================================
--- short/3D/PyLith/branches/v1.6-stable/tests_auto/2d/quad4/friction_opening.cfg	2011-11-10 17:53:48 UTC (rev 19175)
+++ short/3D/PyLith/branches/v1.6-stable/tests_auto/2d/quad4/friction_opening.cfg	2011-11-10 18:58:29 UTC (rev 19176)
@@ -124,6 +124,7 @@
 sub_pc_factor_shift_type = nonzero
 
 ksp_rtol = 1.0e-8
+ksp_atol = 1.0e-12
 ksp_max_it = 100
 ksp_gmres_restart = 50
 #ksp_monitor = true
@@ -131,8 +132,10 @@
 #ksp_converged_reason = true
 
 snes_rtol = 1.0e-8
+snes_atol = 1.0e-9
 snes_max_it = 100
 #snes_monitor = true
+#snes_ls_monitor = true
 #snes_view = true
 #snes_converged_reason = true
 

Modified: short/3D/PyLith/branches/v1.6-stable/tests_auto/2d/quad4/slipweakening_opening.cfg
===================================================================
--- short/3D/PyLith/branches/v1.6-stable/tests_auto/2d/quad4/slipweakening_opening.cfg	2011-11-10 17:53:48 UTC (rev 19175)
+++ short/3D/PyLith/branches/v1.6-stable/tests_auto/2d/quad4/slipweakening_opening.cfg	2011-11-10 18:58:29 UTC (rev 19176)
@@ -123,8 +123,12 @@
 sub_pc_factor_shift_type = nonzero
 
 ksp_rtol = 1.0e-8
+ksp_atol = 1.0e-12
 ksp_max_it = 100
 ksp_gmres_restart = 50
+
+snes_rtol = 1.0e-8
+snes_atol = 1.0e-9
 snes_max_it = 200
 
 #ksp_monitor = true



More information about the CIG-COMMITS mailing list