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 12969 for NEMO/branches/2020/dev_12905_xios_restart/src/ICE/icedyn_rhg_evp.F90 – NEMO

Ignore:
Timestamp:
2020-05-26T12:05:09+02:00 (4 years ago)
Author:
andmirek
Message:

ticket #2462: read restart with XIOS independently for each component

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_12905_xios_restart/src/ICE/icedyn_rhg_evp.F90

    r12957 r12969  
    839839         IF( ln_rstart ) THEN                   !* Read the restart file 
    840840            ! 
    841             IF(lrxios) CALL iom_swap(crixios_context) 
     841            IF(lrixios) CALL iom_swap(crixios_context) 
    842842            id1 = iom_varid( numrir, 'stress1_i' , ldstop = .FALSE. ) 
    843843            id2 = iom_varid( numrir, 'stress2_i' , ldstop = .FALSE. ) 
     
    845845            ! 
    846846            IF( MIN( id1, id2, id3 ) > 0 ) THEN      ! fields exist 
    847                CALL iom_get( numrir, jpdom_autoglo, 'stress1_i' , stress1_i,  ldxios = lrxios ) 
    848                CALL iom_get( numrir, jpdom_autoglo, 'stress2_i' , stress2_i,  ldxios = lrxios ) 
    849                CALL iom_get( numrir, jpdom_autoglo, 'stress12_i', stress12_i, ldxios = lrxios ) 
     847               CALL iom_get( numrir, jpdom_autoglo, 'stress1_i' , stress1_i,  ldxios = lrixios ) 
     848               CALL iom_get( numrir, jpdom_autoglo, 'stress2_i' , stress2_i,  ldxios = lrixios ) 
     849               CALL iom_get( numrir, jpdom_autoglo, 'stress12_i', stress12_i, ldxios = lrixios ) 
    850850            ELSE                                     ! start rheology from rest 
    851851               IF(lwp) WRITE(numout,*) 
     
    855855               stress12_i(:,:) = 0._wp 
    856856            ENDIF 
    857             IF(lrxios) CALL iom_swap(cxios_context) 
     857            IF(lrixios) CALL iom_swap(cxios_context) 
    858858         ELSE                                   !* Start from rest 
    859859            IF(lwp) WRITE(numout,*) 
Note: See TracChangeset for help on using the changeset viewer.