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 8079 for branches/UKMO/dev_r7573_xios_write/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_flt.F90 – NEMO

Ignore:
Timestamp:
2017-05-26T12:09:41+02:00 (7 years ago)
Author:
andmirek
Message:

#1882 a first working version with XIOS writing restart file. Works with MO suite u-am389

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r7573_xios_write/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_flt.F90

    r7179 r8079  
    5151   USE agrif_opa_interp 
    5252#endif 
     53   USE iom_def, ONLY : lwxios 
    5354 
    5455   IMPLICIT NONE 
     
    405406! Caution : extra-hallow 
    406407! gcx and gcxb are defined as: DIMENSION(1-jpr2di:jpi+jpr2di,1-jpr2dj:jpj+jpr2dj) 
    407          CALL iom_rstput( kt, nitrst, numrow, 'gcx' , gcx (1:jpi,1:jpj) ) 
    408          CALL iom_rstput( kt, nitrst, numrow, 'gcxb', gcxb(1:jpi,1:jpj) ) 
     408         IF( lwxios ) CALL iom_swap(      wxios_context          ) 
     409         CALL iom_rstput( kt, nitrst, numrow, 'gcx' , gcx (1:jpi,1:jpj), lxios = lwxios ) 
     410         CALL iom_rstput( kt, nitrst, numrow, 'gcxb', gcxb(1:jpi,1:jpj), lxios = lwxios ) 
     411         IF( lwxios ) CALL iom_swap(      cxios_context          ) 
    409412      ENDIF 
    410413      ! 
Note: See TracChangeset for help on using the changeset viewer.