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 10726 for NEMO/releases/release-4.0/src/OCE/ICB/icbini.F90 – NEMO

Ignore:
Timestamp:
2019-02-27T16:06:35+01:00 (5 years ago)
Author:
mathiot
Message:

changes related to bug fixes described in tickets #2228, #2229, #2238 and #1595 in NEMO 4.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/releases/release-4.0/src/OCE/ICB/icbini.F90

    r10570 r10726  
    7474      !                          ! allocate gridded fields 
    7575      IF( icb_alloc() /= 0 )   CALL ctl_stop( 'STOP', 'icb_alloc : unable to allocate arrays' ) 
    76  
     76      ! 
     77      !                          ! initialised variable with extra haloes to zero 
     78      uo_e(:,:) = 0._wp   ;   vo_e(:,:) = 0._wp   ; 
     79      ua_e(:,:) = 0._wp   ;   va_e(:,:) = 0._wp   ; 
     80      ff_e(:,:) = 0._wp   ;   tt_e(:,:) = 0._wp   ; 
     81      fr_e(:,:) = 0._wp   ; 
     82#if defined key_si3 
     83      hi_e(:,:) = 0._wp   ; 
     84      ui_e(:,:) = 0._wp   ;   vi_e(:,:) = 0._wp   ; 
     85#endif 
     86      ssh_e(:,:) = 0._wp  ;  
     87      ! 
    7788      !                          ! open ascii output file or files for iceberg status information 
    7889      !                          ! note that we choose to do this on all processors since we cannot 
     
    224235      src_calving_hflx(:,:) = 0._wp 
    225236 
     237      ! definition of extended surface masked needed by icb_bilin_h 
     238      tmask_e(:,:) = 0._wp   ;   tmask_e(1:jpi,1:jpj) = tmask(:,:,1) 
     239      umask_e(:,:) = 0._wp   ;   umask_e(1:jpi,1:jpj) = umask(:,:,1) 
     240      vmask_e(:,:) = 0._wp   ;   vmask_e(1:jpi,1:jpj) = vmask(:,:,1) 
     241      CALL lbc_lnk_icb( 'icbini', tmask_e, 'T', +1._wp, 1, 1 ) 
     242      CALL lbc_lnk_icb( 'icbini', umask_e, 'T', +1._wp, 1, 1 ) 
     243      CALL lbc_lnk_icb( 'icbini', vmask_e, 'T', +1._wp, 1, 1 ) 
     244      ! 
    226245      ! assign each new iceberg with a unique number constructed from the processor number 
    227246      ! and incremented by the total number of processors 
Note: See TracChangeset for help on using the changeset viewer.