[cig-commits] [commit] master: Time variable in postproc starts at 0 (f836044)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Mon Aug 25 07:50:29 PDT 2014


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

On branch  : master
Link       : https://github.com/geodynamics/axisem/compare/4fdc3be0b9163702cd293f978f30a53c8313fa17...7b7289c7dbd6c6f7e20177c657193146d6e0b70e

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

commit f836044356e688dc6d152f314807fa1bdd2bfe45
Author: Simon Stähler <staehler at geophysik.uni-muenchen.de>
Date:   Mon Aug 25 15:25:12 2014 +0200

    Time variable in postproc starts at 0


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

f836044356e688dc6d152f314807fa1bdd2bfe45
 SOLVER/UTILS/post_processing.F90 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SOLVER/UTILS/post_processing.F90 b/SOLVER/UTILS/post_processing.F90
index 93e74e3..8db8faf 100644
--- a/SOLVER/UTILS/post_processing.F90
+++ b/SOLVER/UTILS/post_processing.F90
@@ -282,7 +282,7 @@ program post_processing_seis
   ! define time series
   allocate(time(nt_seis), seis(nt_seis,3))
   do iseis=1, nt_seis
-     time(iseis) = iseis * dt_seis
+     time(iseis) = (iseis - 1) * dt_seis
   enddo
   allocate(seis_sglcomp(nt_seis,3))
 



More information about the CIG-COMMITS mailing list