Ignore:
Timestamp:
07/29/14 18:30:42 (10 years ago)
Author:
ymipsl
Message:

Save starting iteration itau0 in dynamico restart file.
Timeloop now begin from itau0 which can be read from start file or set to 0 by default.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/branches/SATURN_DYNAMICO/ICOSAGCM/src/timeloop_gcm.f90

    r260 r262  
    197197!$OMP END MASTER    
    198198 
     199  CALL check_conserve(f_ps,f_dps,f_u,f_theta_rhodz,f_phis,itau0)   
     200 
    199201  CALL trace_on 
    200202   
    201   DO it=0,itaumax 
     203  DO it=itau0+1,itau0+itaumax 
    202204     
    203205    IF (xios_output) CALL xios_update_calendar(it) 
    204     IF (MOD(it,itau_sync)==0) THEN 
     206    IF (it==itau0+1 .OR. MOD(it,itau_sync)==0) THEN 
    205207      CALL send_message(f_ps,req_ps0) 
    206208      CALL wait_message(req_ps0) 
     
    294296  ENDDO 
    295297 
    296   CALL write_etat0(f_ps, f_phis,f_theta_rhodz,f_u,f_q)  
     298  CALL write_etat0(itau0+itaumax,f_ps, f_phis,f_theta_rhodz,f_u,f_q)  
    297299 
    298300  CALL check_conserve(f_ps,f_dps,f_u,f_theta_rhodz,f_phis,it)   
Note: See TracChangeset for help on using the changeset viewer.