[cig-commits] [commit] devel: increased the number of iterations from 4 to 5 (ee55a07)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Thu Nov 20 06:48:20 PST 2014
Repository : https://github.com/geodynamics/specfem3d
On branch : devel
Link : https://github.com/geodynamics/specfem3d/compare/90e056993245e43d3c7021b09f694cd01d707c9e...ee55a07d2b0334368c3d84832e2c66cb81659902
>---------------------------------------------------------------
commit ee55a07d2b0334368c3d84832e2c66cb81659902
Author: Dimitri Komatitsch <komatits at users.noreply.github.com>
Date: Thu Nov 20 15:48:16 2014 +0100
increased the number of iterations from 4 to 5
>---------------------------------------------------------------
ee55a07d2b0334368c3d84832e2c66cb81659902
setup/constants.h.in | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/setup/constants.h.in b/setup/constants.h.in
index eac9126..5dafd8e 100644
--- a/setup/constants.h.in
+++ b/setup/constants.h.in
@@ -478,7 +478,9 @@
integer, parameter :: NLINES_PER_FORCESOLUTION_SOURCE = 10
! number of iterations to solve the system for xi and eta
- integer, parameter :: NUM_ITER = 4
+! 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
! size of topography and bathymetry file for Southern California
integer, parameter :: NX_TOPO_FILE = 1401,NY_TOPO_FILE = 1001
More information about the CIG-COMMITS
mailing list