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 8801 for branches/2017/dev_r8600_xios_read_write_v2/NEMOGCM/NEMO/OPA_SRC/IOM/iom_def.F90 – NEMO

Ignore:
Timestamp:
2017-11-23T16:52:17+01:00 (6 years ago)
Author:
andmirek
Message:

#1953 and #1962 merge dev_r8600_xios_read_write r8793

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r8600_xios_read_write_v2/NEMOGCM/NEMO/OPA_SRC/IOM/iom_def.F90

    r8800 r8801  
    4444   INTEGER, PARAMETER, PUBLIC ::   jpmax_digits =  5   !: maximum number of digits for the cpu number in the file name 
    4545 
     46 
    4647!$AGRIF_DO_NOT_TREAT 
    4748   INTEGER, PUBLIC            ::   iom_open_init = 0   !: used to initialize iom_file(:)%nfid to 0 
     49!XIOS write restart    
     50   LOGICAL, PUBLIC            ::   lwxios          !: write single file restart using XIOS 
     51   INTEGER, PUBLIC            ::   nxioso          !: type of restart file when writing using XIOS 1 - single, 2 - multiple 
    4852!XIOS read restart    
    49    LOGICAL, PUBLIC            ::   lxios_read          !: read single file restart using XIOS 
     53   LOGICAL, PUBLIC            ::   lrxios          !: read single file restart using XIOS 
    5054   LOGICAL, PUBLIC            ::   lxios_sini = .FALSE. ! is restart in a single file 
    5155   LOGICAL, PUBLIC            ::   lxios_set  = .FALSE.  
     56 
     57 
    5258 
    5359   TYPE, PUBLIC ::   file_descriptor 
     
    7076   END TYPE file_descriptor 
    7177   TYPE(file_descriptor), DIMENSION(jpmax_files), PUBLIC ::   iom_file !: array containing the info for all opened files 
    72  
    7378   INTEGER, PARAMETER, PUBLIC                   :: max_rst_fields = 95   
    74  
     79   TYPE, PUBLIC :: RST_FIELD   
     80    CHARACTER(len=30) :: vname = "NO_NAME" ! names of variables in restart file 
     81    CHARACTER(len=30) :: grid = "NO_GRID" 
     82    LOGICAL           :: active =.FALSE. ! for restart write only: true - write field, false do not write field 
     83   END TYPE RST_FIELD 
    7584!$AGRIF_END_DO_NOT_TREAT 
    7685 
    77    TYPE, PUBLIC :: RST_FIELD   
    78     CHARACTER(len=30) :: vname ! names of variables in restart file 
    79     CHARACTER(len=30) :: grid 
    80    END TYPE RST_FIELD 
    81    TYPE(RST_FIELD), PUBLIC :: rst_fields(max_rst_fields) 
     86   TYPE(RST_FIELD), PUBLIC :: rst_wfields(max_rst_fields), rst_rfields(max_rst_fields) 
    8287 
    8388   !!===================================================================== 
Note: See TracChangeset for help on using the changeset viewer.