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 2148 for branches/DEV_r2106_LOCEAN2010/NEMO/OPA_SRC/IOM/restart.F90 – NEMO

Ignore:
Timestamp:
2010-10-04T15:53:42+02:00 (14 years ago)
Author:
cetlod
Message:

merge LOCEAN 2010 developments branches

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DEV_r2106_LOCEAN2010/NEMO/OPA_SRC/IOM/restart.F90

    r2104 r2148  
    77   !!   NEMO     1.0  !  2002-08  (G. Madec)  F90: Free form 
    88   !!            2.0  !  2006-07  (S. Masson)  use IOM for restart 
    9    !!            3.3  !  2010-10  (C. Ethe, G. Madec) TRC-TRA merge (T-S in 4D) 
     9   !!            3.3  !  2010-04  (M. Leclair, G. Madec)  modified LF-RA 
     10   !!            - -  !  2010-10  (C. Ethe, G. Madec) TRC-TRA merge (T-S in 4D) 
    1011   !!---------------------------------------------------------------------- 
    1112 
     
    2627   USE zdfmxl          ! mixed layer depth 
    2728   USE trdmld_oce      ! ocean active mixed layer tracers trends variables 
     29   USE domvvl          ! variable volume 
    2830   USE traswp          ! swap from 4D T-S to 3D T & S and vice versa 
    2931 
     
    3941 
    4042   !! * Substitutions 
     43#  include "domzgr_substitute.h90" 
    4144#  include "vectopt_loop_substitute.h90" 
    4245   !!---------------------------------------------------------------------- 
     
    123126      CALL iom_rstput( kt, nitrst, numrow, 'hdivb'  , hdivb   ) 
    124127      CALL iom_rstput( kt, nitrst, numrow, 'sshb'   , sshb    ) 
     128      IF( lk_vvl ) & 
     129      CALL iom_rstput( kt, nitrst, numrow, 'fse3t_b', fse3t_b(:,:,:) ) 
    125130      ! 
    126131      CALL iom_rstput( kt, nitrst, numrow, 'un'     , un      )     ! now fields 
     
    154159      !!---------------------------------------------------------------------- 
    155160      REAL(wp) ::   zrdt, zrdttra1 
    156       INTEGER  ::   jlibalt = jprstlib 
     161      INTEGER  ::   jk, jlibalt = jprstlib 
    157162      LOGICAL  ::   llok 
    158163      !!---------------------------------------------------------------------- 
     
    192197      CALL iom_get( numror, jpdom_autoglo, 'hdivb', hdivb ) 
    193198      CALL iom_get( numror, jpdom_autoglo, 'sshb' , sshb  ) 
     199      IF( lk_vvl )  & 
     200      CALL iom_get( numror, jpdom_autoglo, 'fse3t_b', fse3t_b(:,:,:) ) 
    194201      ! 
    195202      CALL iom_get( numror, jpdom_autoglo, 'un'   , un    )        ! now    fields 
     
    219226         hdivb(:,:,:) = hdivn(:,:,:) 
    220227         sshb (:,:)   = sshn (:,:) 
     228         IF( lk_vvl ) THEN 
     229            DO jk = 1, jpk 
     230               fse3t_b(:,:,jk) = fse3t_n(:,:,jk) 
     231            ENDDO 
     232         ENDIF 
    221233      ENDIF 
    222234      ! 
Note: See TracChangeset for help on using the changeset viewer.