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 14030 for NEMO/trunk/src/SAS – NEMO

Changeset 14030 for NEMO/trunk/src/SAS


Ignore:
Timestamp:
2020-12-03T10:26:33+01:00 (3 years ago)
Author:
mathiot
Message:

merge tickets_icb_1900 into trunk

Location:
NEMO/trunk/src/SAS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/SAS/nemogcm.F90

    r13970 r14030  
    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 prtctl         ! Print control 
     
    393394      ! ==> 
    394395                           CALL icb_init( rn_Dt, nit000)   ! initialise icebergs instance 
     396 
     397      ! compatibility check 
     398      IF( ln_icebergs .AND. ln_M2016 ) THEN 
     399         IF( lwp ) WRITE(numout,*) '         ==>>>   ln_iceberg and ln_M2016 not compatible with SAS (need 3d data)' 
     400         CALL ctl_stop('ln_iceberg and ln_M2016 not compatible with SAS (need 3d data)') 
     401      END IF 
    395402      ! 
    396403      IF(lwp) WRITE(numout,cform_aaa)           ! Flag AAAAAAA 
  • NEMO/trunk/src/SAS/sbcssm.F90

    r13286 r14030  
    2121   USE zpshde         ! z-coord. with partial steps: horizontal derivatives 
    2222   USE closea         ! for ln_closea 
     23   USE icb_oce        ! for icebergs 
    2324   ! 
    2425   USE in_out_manager ! I/O manager 
     
    226227         ln_closea = .false. 
    227228      ENDIF 
    228  
     229      IF( ln_icebergs .AND. ln_M2016 ) THEN 
     230         IF( lwp ) WRITE(numout,*) '         ==>>>   ln_iceberg and ln_M2016 not compatible with SAS (need 3d data)' 
     231         CALL ctl_stop('ln_iceberg and ln_M2016 not compatible with SAS (need 3d data)') 
     232      END IF 
    229233      ! 
    230234      IF( l_sasread ) THEN                       ! store namelist information in an array 
Note: See TracChangeset for help on using the changeset viewer.