Ignore:
Timestamp:
12/24/16 02:33:07 (8 years ago)
Author:
dubos
Message:

Fixed RK2.5 - cleanup to follow

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/trunk/src/timeloop_gcm.f90

    r516 r519  
    211211    IF(positive_theta) CALL copy_theta_to_q(f_theta_rhodz,f_rhodz,f_q) 
    212212 
     213    CALL check_conserve(f_ps,f_dps,f_u,f_theta_rhodz,f_phis,itau0)   
     214 
     215    CALL trace_on 
     216 
     217    IF (xios_output) THEN ! we must call update_calendar before any XIOS output 
     218      IF (is_omp_master) CALL xios_update_calendar(1) 
     219    END IF 
     220     
     221    IF (write_start) CALL write_etat0(itau0,f_ps, f_phis,f_theta_rhodz,f_u,f_q)  ! FIXME : write_start undefined 
     222    
     223    CALL write_output_fields_basic(.TRUE., f_phis, f_ps, f_mass, f_geopot, f_theta_rhodz, f_u, f_W, f_q) 
     224 
    213225    !$OMP MASTER 
    214226    CALL SYSTEM_CLOCK(start_clock) 
    215227    CALL SYSTEM_CLOCK(count_rate=rate_clock) 
    216228    !$OMP END MASTER    
    217  
    218     CALL check_conserve(f_ps,f_dps,f_u,f_theta_rhodz,f_phis,itau0)   
    219  
    220     CALL trace_on 
    221  
    222     IF (xios_output) THEN ! we must call update_calendar before any XIOS output 
    223       IF (is_omp_master) CALL xios_update_calendar(1) 
    224     END IF 
    225      
    226     IF (write_start) CALL write_etat0(itau0,f_ps, f_phis,f_theta_rhodz,f_u,f_q)  ! FIXME : write_start undefined 
    227     
    228     CALL write_output_fields_basic(.TRUE., f_phis, f_ps, f_mass, f_geopot, f_theta_rhodz, f_u, f_W, f_q) 
    229229 
    230230    DO it=itau0+1,itau0+itaumax 
Note: See TracChangeset for help on using the changeset viewer.