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 10292 for NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/ICE/icerst.F90 – NEMO

Ignore:
Timestamp:
2018-11-09T16:35:08+01:00 (5 years ago)
Author:
smasson
Message:

dev_r10164_HPC09_ESIWACE_PREP_MERGE: action 4b: reduce communications in si3, see #2133

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/ICE/icerst.F90

    r10069 r10292  
    175175      CHARACTER(len=25) ::   znam 
    176176      CHARACTER(len=2)  ::   zchar, zchar1 
    177       REAL(wp)          ::   zfice, ziter 
     177      REAL(wp)          ::   zfice, ziter, zcfl 
    178178      REAL(wp), DIMENSION(jpi,jpj,jpl) ::   z3d   ! 3D workspace 
    179179      !!---------------------------------------------------------------------- 
     
    236236      CALL iom_get( numrir, jpdom_autoglo, 'u_ice', u_ice ) 
    237237      CALL iom_get( numrir, jpdom_autoglo, 'v_ice', v_ice ) 
     238 
     239      ! fields needed for ice_dyn_adv_umx 
     240      zcfl =            MAXVAL( ABS( u_ice(:,:) ) * rdt_ice * r1_e1u(:,:) ) 
     241      zcfl = MAX( zcfl, MAXVAL( ABS( v_ice(:,:) ) * rdt_ice * r1_e2v(:,:) ) ) 
     242      ! define split from previous run, so we ca used mpp_ilor 
     243      IF( zcfl > 0.5 ) THEN   ;   l_split_advumx(1) = .TRUE. 
     244      ELSE                    ;   l_split_advumx(1) = .FALSE. 
     245      ENDIF 
     246      IF( lk_mpp )   CALL mpp_ilor( l_split_advumx )   ! non-blocking global communication send l_split_advumx(1) 
     247 
    238248      ! fields needed for Met Office (Jules) coupling 
    239249      IF( ln_cpl ) THEN 
Note: See TracChangeset for help on using the changeset viewer.