[cig-commits] [commit] maint, williams/add-examples-grav2d: Refine tolerances and scales. (30251f1)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Nov 5 15:42:05 PST 2014


Repository : https://github.com/geodynamics/pylith

On branches: maint,williams/add-examples-grav2d
Link       : https://github.com/geodynamics/pylith/compare/f33c75b19fd60eedb2a3405db76a1fee333bb1d7...5b6d812b1612809fea3bd331c4e5af98c25a536a

>---------------------------------------------------------------

commit 30251f1086fafccbd91b57175f0ed6986ba2802a
Author: Brad Aagaard <baagaard at usgs.gov>
Date:   Sun Jun 22 13:01:38 2014 -0700

    Refine tolerances and scales.


>---------------------------------------------------------------

30251f1086fafccbd91b57175f0ed6986ba2802a
 examples/2d/gravity/pylithapp.cfg | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/examples/2d/gravity/pylithapp.cfg b/examples/2d/gravity/pylithapp.cfg
index 305512e..e0dc3bd 100644
--- a/examples/2d/gravity/pylithapp.cfg
+++ b/examples/2d/gravity/pylithapp.cfg
@@ -42,9 +42,12 @@ gravity_field.gravity_dir = [0.0, -1.0, 0.0]
 
 [pylithapp.timedependent.formulation.time_step]
 # Define the total time for the simulation and the time step size.
-total_time = 100.0*year
+total_time = 10.0*year
 dt = 1.0*year
 
+[pylithapp.timedependent.normalizer]
+length_scale = 1.0*m
+
 # ----------------------------------------------------------------------
 # boundary conditions
 # ----------------------------------------------------------------------
@@ -174,8 +177,8 @@ writer = pylith.meshio.DataWriterHDF5
 pc_type = ml
 
 # Convergence parameters.
-ksp_rtol = 1.0e-10
-ksp_atol = 1.0e-12
+ksp_rtol = 1.0e-20
+ksp_atol = 1.0e-15
 ksp_max_it = 300
 ksp_gmres_restart = 100
 
@@ -186,8 +189,8 @@ ksp_converged_reason = true
 ksp_error_if_not_converged = true
 
 # Nonlinear solver monitoring options.
-snes_rtol = 1.0e-10
-snes_atol = 1.0e-11
+snes_rtol = 1.0e-20
+snes_atol = 1.0e-13
 snes_max_it = 100
 snes_monitor = true
 #snes_view = true



More information about the CIG-COMMITS mailing list