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/OCE/ICB/icbini.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/OCE/ICB/icbini.F90

    r13357 r13365  
    7373      ! 
    7474      IF( .NOT. ln_icebergs )   RETURN 
    75  
     75      ! 
     76      ! check nn_fsbc 
     77      IF ( ln_icebergs .AND. ln_M2016 .AND. nn_fsbc /= 1) THEN 
     78         IF (lwp) WRITE(numout,*) 'The use of ln_M2016 within the iceberg module is only compatible with nn_fsbc == 1' 
     79         IF (lwp) WRITE(numout,*) 'because it needs the 3d t,s,u,v model data' 
     80         CALL ctl_stop('Compatibility error in the iceberg module') 
     81      END IF 
     82      ! 
    7683      !                          ! allocate gridded fields 
    7784      IF( icb_alloc() /= 0 )   CALL ctl_stop( 'STOP', 'icb_alloc : unable to allocate arrays' ) 
Note: See TracChangeset for help on using the changeset viewer.