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

Ignore:
Timestamp:
2018-12-14T17:27:24+01:00 (5 years ago)
Author:
smasson
Message:

dev_r10164_HPC09_ESIWACE_PREP_MERGE: action 5 introduce mpp_delay_sum, see #2133

File:
1 edited

Legend:

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

    r10380 r10397  
    9595      INTEGER, INTENT(in) ::   kt     ! number of iteration 
    9696      !! 
    97       INTEGER ::   ji, jk ,jl   ! dummy loop indices 
     97      INTEGER ::   jk    ! dummy loop indices 
    9898      INTEGER ::   iter 
    9999      CHARACTER(len=25) ::   znam 
     
    115115      CALL iom_rstput( iter, nitrst, numriw, 'nn_fsbc', REAL( nn_fsbc, wp ) )      ! time-step  
    116116      CALL iom_rstput( iter, nitrst, numriw, 'kt_ice' , REAL( iter   , wp ) )      ! date 
    117       DO ji = 1, nbdelay 
    118          CALL iom_rstput( iter, nitrst, numriw, c_delaylist(ji), todelay(ji) ) 
    119       END DO 
     117      CALL iom_delay_rst( 'WRITE', 'ICE', numriw )   ! save only ice delayed global communication variables 
    120118 
    121119      ! Prognostic variables 
     
    169167      !! ** purpose  :   read restart file 
    170168      !!---------------------------------------------------------------------- 
    171       INTEGER           ::   ji, jk, jl 
     169      INTEGER           ::   jk 
    172170      LOGICAL           ::   llok 
    173171      INTEGER           ::   id1            ! local integer 
    174172      CHARACTER(len=25) ::   znam 
    175173      CHARACTER(len=2)  ::   zchar, zchar1 
    176       REAL(wp)          ::   zfice, ziter, zcfl 
     174      REAL(wp)          ::   zfice, ziter 
    177175      REAL(wp), DIMENSION(jpi,jpj,jpl) ::   z3d   ! 3D workspace 
    178176      !!---------------------------------------------------------------------- 
     
    236234      CALL iom_get( numrir, jpdom_autoglo, 'v_ice', v_ice ) 
    237235 
    238       ! fields needed for ice_dyn_adv_umx 
    239       zcfl =            MAXVAL( ABS( u_ice(:,:) ) * rdt_ice * r1_e1u(:,:) ) 
    240       zcfl = MAX( zcfl, MAXVAL( ABS( v_ice(:,:) ) * rdt_ice * r1_e2v(:,:) ) ) 
    241  
    242       DO ji = 1, nbdelay 
    243          IF( iom_varid( numrir, c_delaylist(ji), ldstop = .FALSE. ) > 0 )  THEN 
    244             CALL iom_get( numrir, c_delaylist(ji), todelay(ji) ) 
    245             ndelayid(ji) = 0   ! set to 0 to speficy that the value was read in the restart 
    246          ENDIF 
    247       END DO 
     236      CALL iom_delay_rst( 'READ', 'ICE', numrir )   ! read only ice delayed global communication variables 
    248237 
    249238      ! fields needed for Met Office (Jules) coupling 
Note: See TracChangeset for help on using the changeset viewer.