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 12728 for NEMO/branches/2020/r4.0-HEAD_r12713_clem_dan_fixcpl/src/ICE/icerst.F90 – NEMO

Ignore:
Timestamp:
2020-04-09T17:06:57+02:00 (4 years ago)
Author:
clem
Message:

add option for starting simulation with a restart (ice part)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/r4.0-HEAD_r12713_clem_dan_fixcpl/src/ICE/icerst.F90

    r12725 r12728  
    283283         CALL ice_istate( nit000 ) 
    284284         ! 
    285          IF( .NOT.ln_iceini .OR. .NOT.ln_iceini_file ) & 
    286             &   CALL ctl_stop('STOP', 'ice_rst_read: you need ln_ice_ini=T and ln_iceini_file=T') 
     285         IF( .NOT.ln_iceini .OR. nn_iceini_file == 0 ) & 
     286            &   CALL ctl_stop('STOP', 'ice_rst_read: you need ln_ice_ini=T and nn_iceini_file=0') 
    287287         ! 
    288288      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.