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 6006 for branches/2015/dev_MetOffice_merge_2015/NEMOGCM/NEMO/OPA_SRC/IOM – NEMO

Ignore:
Timestamp:
2015-12-04T17:56:07+01:00 (9 years ago)
Author:
mathiot
Message:

Merged ice sheet coupling branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_MetOffice_merge_2015/NEMOGCM/NEMO/OPA_SRC/IOM/restart.F90

    r6005 r6006  
    142142                     CALL iom_rstput( kt, nitrst, numrow, 'sshn'   , sshn      ) 
    143143                     CALL iom_rstput( kt, nitrst, numrow, 'rhop'   , rhop      ) 
     144 
     145                  ! extra variable needed for the ice sheet coupling 
     146                  IF ( ln_iscpl ) THEN  
     147                     CALL iom_rstput( kt, nitrst, numrow, 'tmask'  , tmask     ) ! need to extrapolate T/S 
     148                     CALL iom_rstput( kt, nitrst, numrow, 'umask'  , umask     ) ! need to correct barotropic velocity 
     149                     CALL iom_rstput( kt, nitrst, numrow, 'vmask'  , vmask     ) ! need to correct barotropic velocity 
     150                     CALL iom_rstput( kt, nitrst, numrow, 'smask'  , ssmask    ) ! need to correct barotropic velocity 
     151                     CALL iom_rstput( kt, nitrst, numrow, 'fse3t_n', fse3t_n(:,:,:) )   ! need to compute temperature correction 
     152                     CALL iom_rstput( kt, nitrst, numrow, 'fse3u_n', fse3u_n(:,:,:) )   ! need to compute bt conservation 
     153                     CALL iom_rstput( kt, nitrst, numrow, 'fse3v_n', fse3v_n(:,:,:) )   ! need to compute bt conservation 
     154                     CALL iom_rstput( kt, nitrst, numrow, 'fsdepw_n', fsdepw_n(:,:,:) ) ! need to compute extrapolation if vvl 
     155                  END IF 
    144156      ENDIF 
    145157       
    146158      IF (ln_diurnal) CALL iom_rstput( kt, nitrst, numrow, 'Dsst', x_dsst    )   
    147        
     159 
    148160      IF( kt == nitrst ) THEN 
    149161         CALL iom_close( numrow )     ! close the restart file (only at last time step) 
     
    209221      REAL(wp) ::   zrdt, zrdttra1 
    210222      INTEGER  ::   jk 
    211       LOGICAL  ::   llok 
    212223      !!---------------------------------------------------------------------- 
    213224 
Note: See TracChangeset for help on using the changeset viewer.