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 13365 for NEMO/branches/2020/tickets_icb_1900/src/SAS/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2020-07-30T18:57:15+02:00 (4 years ago)
Author:
mathiot
Message:

ticket #1900: add compatibility check (nn_fsbc and ln_M2016, SAS and ln_M2016) and rm useless debug print

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/tickets_icb_1900/src/SAS/nemogcm.F90

    r13216 r13365  
    3434   USE diu_layers     ! diurnal bulk SST and coolskin 
    3535   USE step_diu       ! diurnal bulk SST timestepping (called from here if run offline) 
     36   USE icb_oce        ! icebergs 
    3637   ! 
    3738   USE in_out_manager ! I/O manager 
     
    376377      ! ==> 
    377378                           CALL icb_init( rn_Dt, nit000)   ! initialise icebergs instance 
     379 
     380      ! compatibility check 
     381      IF( ln_icebergs .AND. ln_M2016 ) THEN 
     382         IF( lwp ) WRITE(numout,*) '         ==>>>   ln_iceberg and ln_M2016 not compatible with SAS (need 3d data)' 
     383         CALL ctl_stop('ln_iceberg and ln_M2016 not compatible with SAS (need 3d data)') 
     384      END IF 
    378385      ! 
    379386      IF(lwp) WRITE(numout,cform_aaa)           ! Flag AAAAAAA 
Note: See TracChangeset for help on using the changeset viewer.