New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 4990 for trunk/NEMOGCM/NEMO/OPA_SRC/IOM/restart.F90 – NEMO

Ignore:
Timestamp:
2014-12-15T17:42:49+01:00 (9 years ago)
Author:
timgraham
Message:

Merged branches/2014/dev_MERGE_2014 back onto the trunk as follows:

In the working copy of branch ran:
svn merge svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk@HEAD
1 conflict in LIM_SRC_3/limdiahsb.F90
Resolved by keeping the version from dev_MERGE_2014 branch
and commited at r4989

In working copy run:
svn switch svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk
to switch working copy

Run:
svn merge --reintegrate svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/2014/dev_MERGE_2014
to merge the branch into the trunk - no conflicts at this stage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/NEMO/OPA_SRC/IOM/restart.F90

    r4693 r4990  
    2222   USE iom             ! I/O module 
    2323   USE eosbn2          ! equation of state            (eos bn2 routine) 
    24    USE trdmld_oce      ! ocean active mixed layer tracers trends variables 
     24   USE trdmxl_oce      ! ocean active mixed layer tracers trends variables 
    2525   USE divcur          ! hor. divergence and curl      (div & cur routines) 
    2626   USE sbc_ice, ONLY : lk_lim3 
     
    120120                     CALL iom_rstput( kt, nitrst, numrow, 'hdivb'  , hdivb     ) 
    121121                     CALL iom_rstput( kt, nitrst, numrow, 'sshb'   , sshb      ) 
     122                     ! 
    122123      IF( lk_lim3 )  CALL iom_rstput( kt, nitrst, numrow, 'fse3t_b', fse3t_b(:,:,:) ) 
    123124                     ! 
     
    134135#endif 
    135136                  IF( lk_lim3 ) THEN 
    136                      CALL iom_rstput( kt, nitrst, numrow, 'iatte'  , iatte     ) !clem modif 
    137                      CALL iom_rstput( kt, nitrst, numrow, 'oatte'  , oatte     ) !clem modif 
     137                     CALL iom_rstput( kt, nitrst, numrow, 'fraqsr_1lev'  , fraqsr_1lev     ) !clem modif 
    138138                  ENDIF 
    139139      IF( kt == nitrst ) THEN 
    140140         CALL iom_close( numrow )     ! close the restart file (only at last time step) 
    141          IF( .NOT. lk_trdmld )   lrst_oce = .FALSE. 
     141!!gm         IF( .NOT. lk_trdmld )   lrst_oce = .FALSE. 
     142!!gm  not sure what to do here   ===>>>  ask to Sebastian 
     143         lrst_oce = .FALSE. 
    142144      ENDIF 
    143145      ! 
    144146   END SUBROUTINE rst_write 
     147 
    145148 
    146149   SUBROUTINE rst_read_open 
     
    156159      LOGICAL  ::   llok 
    157160      !!---------------------------------------------------------------------- 
    158  
    159       IF( numror .LE. 0 ) THEN 
     161      ! 
     162      IF( numror <= 0 ) THEN 
    160163         IF(lwp) THEN                                             ! Contol prints 
    161164            WRITE(numout,*) 
     
    247250         hdivb(:,:,:)   = hdivn(:,:,:) 
    248251         sshb (:,:)     = sshn (:,:) 
    249          IF( lk_lim3 ) THEN 
     252 
     253         IF( lk_vvl ) THEN 
    250254            DO jk = 1, jpk 
    251255               fse3t_b(:,:,jk) = fse3t_n(:,:,jk) 
    252256            END DO 
    253257         ENDIF 
     258 
     259         IF( lk_lim3 .AND. .NOT. lk_vvl ) THEN 
     260            DO jk = 1, jpk 
     261               fse3t_b(:,:,jk) = fse3t_n(:,:,jk) 
     262            END DO 
     263         ENDIF 
     264 
    254265      ENDIF 
    255266      ! 
    256267      IF( lk_lim3 ) THEN 
    257          CALL iom_get( numror, jpdom_autoglo, 'iatte' , iatte ) ! clem modif 
    258          CALL iom_get( numror, jpdom_autoglo, 'oatte' , oatte ) ! clem modif 
     268         CALL iom_get( numror, jpdom_autoglo, 'fraqsr_1lev' , fraqsr_1lev ) 
    259269      ENDIF 
    260270      ! 
Note: See TracChangeset for help on using the changeset viewer.