Ignore:
Timestamp:
2011-08-01T11:23:28+02:00 (13 years ago)
Author:
didier.solyga
Message:

Externalized stemdiag_bid. Synchronize intersurf.f90 and stomate.f90 with revisions 351 and 352 of the trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ORCHIDEE_EXT/ORCHIDEE/src_sechiba/intersurf.f90

    r354 r366  
    3636 
    3737  PRIVATE 
    38   PUBLIC :: intersurf_main, stom_define_history, intsurf_time 
     38  PUBLIC :: intersurf_main, stom_define_history, stom_IPCC_define_history, intsurf_time 
    3939 
    4040  INTERFACE intersurf_main 
     
    6363  REAL(r_std) :: julian0 
    6464  ! 
    65   LOGICAL :: check_INPUTS = .FALSE.         !! (very) long print of INPUTs in intersurf  
     65  LOGICAL, PARAMETER :: check_INPUTS = .FALSE.         !! (very) long print of INPUTs in intersurf  
    6666  LOGICAL, SAVE :: OFF_LINE_MODE = .FALSE.  
     67  LOGICAL, SAVE :: check_time = .FALSE. 
     68  PUBLIC check_time, l_first_intersurf 
    6769  ! 
    6870!!$ DS : ajout du flag IMPOSE_PARAM 
     
    26502652    REAL(r_std), INTENT(in)                     :: dt        !! Time step 
    26512653    ! 
    2652     ! LOCAL 
    2653     LOGICAL     :: check=.FALSE. 
    26542654 
    26552655    IF (l_first_intersurf) THEN 
     
    26632663       ENDIF 
    26642664 
    2665        IF (check) THEN 
     2665       IF (check_time) THEN 
    26662666          write(numout,*) "calendar_str =",calendar_str 
    26672667          write(numout,*) "one_year=",one_year,", one_day=",one_day 
     
    26712671 
    26722672    ! 
    2673     IF (check) & 
     2673    IF (check_time) & 
    26742674         WRITE(numout,*) "---"  
    26752675    ! Dans diffuco (ie date0 == date0_shift !!)  
     
    26852685!!$       julian_diff = in_julian 
    26862686!!$       month_len = ioget_mon_len (year,month) 
    2687 !!$       IF (check) THEN 
     2687!!$       IF (check_time) THEN 
    26882688!!$          write(numout,*) "in_julian, jur, julian_diff=",in_julian, jur, julian_diff 
    26892689!!$          write(numout,*) 'DATE ymds', year, month,'(',month_len,'d)', day, sec, '-- stp --', istp 
     
    26972697       sec = NINT((julian_diff-REAL(INT(julian_diff)))*one_day) 
    26982698       month_len = ioget_mon_len (year,month) 
    2699        IF (check) THEN 
     2699       IF (check_time) THEN 
    27002700          write(numout,*) "2 in_julian, julian0, julian_diff=",in_julian, julian0, julian_diff 
    27012701          write(numout,*) '2 DATE ymds', year, month,'(',month_len,'d)', day, sec, '-- stp --', istp 
     
    27072707!!$       julian_diff = in_julian 
    27082708!!$       month_len = ioget_mon_len (year,month) 
    2709 !!$       IF (check) THEN 
     2709!!$       IF (check_time) THEN 
    27102710!!$          write(numout,*) "in_julian=",in_julian, jur, julian_diff 
    27112711!!$          write(numout,*) 'DATE ymds', year, month,'(',month_len,'d)', day, sec, '-- stp --', istp 
     
    27192719!!$       sec = NINT((julian_diff-REAL(INT(julian_diff)))*one_day) 
    27202720!!$       month_len = ioget_mon_len (year,month) 
    2721 !!$       IF (check) THEN 
     2721!!$       IF (check_time) THEN 
    27222722!!$          write(numout,*) "2 in_julian, jur, julian_diff=",in_julian, jur, julian_diff 
    27232723!!$          write(numout,*) '2 DATE ymds', year, month,'(',month_len,'d)', day, sec, '-- stp --', istp 
     
    27252725 
    27262726 
    2727 !!$       IF (check) & 
     2727!!$       IF (check_time) & 
    27282728!!$            WRITE(numout,*) "-" 
    27292729 
     
    27362736       julian_diff = in_julian 
    27372737       month_len = ioget_mon_len (year,month) 
    2738        IF (check) THEN 
     2738       IF (check_time) THEN 
    27392739          write(numout,*) "in_julian=",in_julian, julian0, julian_diff 
    27402740          write(numout,*) 'DATE ymds', year, month,'(',month_len,'d)', day, sec, '-- stp --', istp 
    27412741       ENDIF 
    27422742    ENDIF 
    2743 !!$    IF (check) & 
     2743!!$    IF (check_time) & 
    27442744!!$         WRITE(numout,*) "---"  
    27452745 
Note: See TracChangeset for help on using the changeset viewer.