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 593 for trunk/NEMO/OPA_SRC/restart.F90 – NEMO

Ignore:
Timestamp:
2007-02-09T10:40:34+01:00 (17 years ago)
Author:
opalod
Message:

nemo_v2_update_001 : CT : - add non linear free surface (variable volume) with new cpp key key_vvl

File:
1 edited

Legend:

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

    r579 r593  
    127127      CALL iom_rstput( kt, nitrst, numrow, 'un'     , un      ) 
    128128      CALL iom_rstput( kt, nitrst, numrow, 'vn'     , vn      ) 
     129      IF( lk_vvl ) CALL iom_rstput( kt, nitrst, numrow, 'wn'     , wn      ) 
    129130      CALL iom_rstput( kt, nitrst, numrow, 'tn'     , tn      ) 
    130131      CALL iom_rstput( kt, nitrst, numrow, 'sn'     , sn      ) 
     
    147148#endif 
    148149 
    149       IF( nn_dynhpg_rst == 1 ) THEN 
     150      IF( nn_dynhpg_rst == 1 .OR. lk_vvl ) THEN 
    150151         CALL iom_rstput( kt, nitrst, numrow, 'rhd' , rhd  ) 
    151152         CALL iom_rstput( kt, nitrst, numrow, 'rhop', rhop ) 
     
    271272      CALL iom_get( numror, jpdom_local, 'un'   , un    )        ! now    i-component velocity 
    272273      CALL iom_get( numror, jpdom_local, 'vn'   , vn    )        ! now    j-component velocity 
     274      IF( lk_vvl ) CALL iom_get( numror, jpdom_local, 'wn'   , wn    )        ! now    k-component velocity 
    273275      CALL iom_get( numror, jpdom_local, 'tn'   , tn    )        ! now    temperature 
    274276      CALL iom_get( numror, jpdom_local, 'sn'   , sn    )        ! now    salinity 
Note: See TracChangeset for help on using the changeset viewer.