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 2104 for branches/DEV_r2006_merge_TRA_TRC/NEMO/OPA_SRC/IOM – NEMO

Ignore:
Timestamp:
2010-09-17T14:35:46+02:00 (14 years ago)
Author:
cetlod
Message:

update DEV_r2006_merge_TRA_TRC according to review

File:
1 edited

Legend:

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

    r2082 r2104  
    44   !! Ocean restart :  write the ocean restart file 
    55   !!====================================================================== 
    6    !! History :        !  99-11  (M. Imbard)  Original code 
    7    !!             8.5  !  02-08  (G. Madec)  F90: Free form 
    8    !!             9.0  !  05-11  (V. Garnier) Surface pressure gradient organization 
    9    !!             9.0  !  06-07  (S. Masson)  use IOM for restart 
     6   !! History :  OPA  !  1999-11  (M. Imbard)  Original code 
     7   !!   NEMO     1.0  !  2002-08  (G. Madec)  F90: Free form 
     8   !!            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) 
    1010   !!---------------------------------------------------------------------- 
    1111 
     
    2626   USE zdfmxl          ! mixed layer depth 
    2727   USE trdmld_oce      ! ocean active mixed layer tracers trends variables 
    28 #if defined key_zdfkpp 
    29    USE traswap 
    30 #endif 
     28   USE traswp          ! swap from 4D T-S to 3D T & S and vice versa 
     29 
    3130   IMPLICIT NONE 
    3231   PRIVATE 
     
    3635   PUBLIC   rst_read   ! routine called by opa  module 
    3736 
    38    LOGICAL, PUBLIC ::   lrst_oce =  .FALSE.       !: logical to control the oce restart write  
    39    INTEGER, PUBLIC ::   numror, numrow            !: logical unit for cean restart (read and write) 
     37   LOGICAL, PUBLIC ::   lrst_oce =  .FALSE.   !: logical to control the oce restart write  
     38   INTEGER, PUBLIC ::   numror, numrow        !: logical unit for cean restart (read and write) 
    4039 
    4140   !! * Substitutions 
    4241#  include "vectopt_loop_substitute.h90" 
    4342   !!---------------------------------------------------------------------- 
    44    !!  OPA 9.0 , LOCEAN-IPSL (2006)  
     43   !! NEMO/OPA 3.3 , LOCEAN-IPSL (2010)  
    4544   !! $Id$ 
    4645   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
     
    109108      !! 
    110109      !! ** Method  :   Write in numrow when kt == nitrst in NetCDF 
    111       !!      file, save fields which are necessary for restart 
     110      !!              file, save fields which are necessary for restart 
    112111      !!---------------------------------------------------------------------- 
    113112      INTEGER, INTENT(in) ::   kt   ! ocean time-step 
     
    135134      CALL iom_rstput( kt, nitrst, numrow, 'rhop'   , rhop    ) 
    136135#if defined key_zdfkpp 
    137       CALL iom_rstput( kt, nitrst, numrow, 'rhd'  , rhd   ) 
     136      CALL iom_rstput( kt, nitrst, numrow, 'rhd'    , rhd     ) 
    138137#endif 
    139138 
Note: See TracChangeset for help on using the changeset viewer.