[cig-commits] [commit] devel: updated the comment about increasing the number of iterations from 4 to 5 (0e5b55c)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Thu Nov 20 06:22:36 PST 2014
Repository : https://github.com/geodynamics/specfem3d_globe
On branch : devel
Link : https://github.com/geodynamics/specfem3d_globe/compare/ee10f30b8ad6d48e5f1bd68381656e5d64e6433c...0e5b55c6f30be94583639fd325373eecd6facc6d
>---------------------------------------------------------------
commit 0e5b55c6f30be94583639fd325373eecd6facc6d
Author: Dimitri Komatitsch <komatitsch at lma.cnrs-mrs.fr>
Date: Thu Nov 20 14:55:13 2014 +0100
updated the comment about increasing the number of iterations from 4 to 5
>---------------------------------------------------------------
0e5b55c6f30be94583639fd325373eecd6facc6d
setup/constants.h.in | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/setup/constants.h.in b/setup/constants.h.in
index 7659fe5..6e7bd77 100644
--- a/setup/constants.h.in
+++ b/setup/constants.h.in
@@ -715,8 +715,9 @@
! number of lines per source in CMTSOLUTION file
integer, parameter :: NLINES_PER_CMTSOLUTION_SOURCE = 13
-! number of iterations to solve the non linear system for xi and eta; this value
-! should be the minimum required to produce consistent results between compilers
+! number of iterations to solve the system for xi and eta
+! setting it to 5 instead of 4 ensures that the result obtained is not compiler dependent
+! (when using 4 only some small discrepancies were observed)
integer, parameter :: NUM_ITER = 5
! number of hours per day for rotation rate of the Earth
More information about the CIG-COMMITS
mailing list