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 8161 for branches/UKMO/dev_r5518_GO6_package_XIOS_read/NEMOGCM/NEMO/OPA_SRC/IOM/restart.F90 – NEMO

Ignore:
Timestamp:
2017-06-12T14:07:00+02:00 (7 years ago)
Author:
andmirek
Message:

few small bug fixes and support for Agrif restart read

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_package_XIOS_read/NEMOGCM/NEMO/OPA_SRC/IOM/restart.F90

    r8153 r8161  
    223223! can handle checking if variable is in the restart file (there will be no need to open 
    224224! restart) 
    225 #if defined key_agrif 
    226       lxios_read = .FALSE. 
    227       lxios_set = .TRUE. 
    228 #else 
    229       IF(.NOT.lxios_set) lxios_read = lxios_read.AND.lxios_sini 
    230       IF( lxios_read) THEN 
     225         IF(.NOT.lxios_set) lxios_read = lxios_read.AND.lxios_sini 
     226         IF( lxios_read) THEN 
    231227         if(.NOT.lxios_set) then 
    232228             rxios_context = 'nemo_rst' 
     
    234230             lxios_set = .TRUE. 
    235231         endif 
    236        ENDIF 
    237 #endif       
     232         ENDIF 
     233         IF( TRIM(Agrif_CFixed()) /= '0' .AND. lxios_read) THEN 
     234            rxios_context = 'nemo_rst' 
     235            call iom_init( rxios_context ) 
     236         ENDIF  
    238237      ENDIF 
    239238 
Note: See TracChangeset for help on using the changeset viewer.