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

Ignore:
Timestamp:
2017-11-21T17:21:22+01:00 (6 years ago)
Author:
andmirek
Message:

#1953 and #1962 merged (and some modifications) with write branch

File:
1 edited

Legend:

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

    r8631 r8770  
    4646!$AGRIF_DO_NOT_TREAT 
    4747   INTEGER, PUBLIC            ::   iom_open_init = 0   !: used to initialize iom_file(:)%nfid to 0 
     48!XIOS write restart    
     49   LOGICAL, PUBLIC            ::   lwxios          !: read single file restart using XIOS 
     50   INTEGER, PUBLIC            ::   nxioso          !: type of restart file when writing using XIOS 1 - single, 2 - multiple 
    4851!XIOS read restart    
    4952   LOGICAL, PUBLIC            ::   lxios_read          !: read single file restart using XIOS 
    5053   LOGICAL, PUBLIC            ::   lxios_sini = .FALSE. ! is restart in a single file 
    5154   LOGICAL, PUBLIC            ::   lxios_set  = .FALSE.  
     55 
     56 
    5257 
    5358   TYPE, PUBLIC ::   file_descriptor 
     
    7075   END TYPE file_descriptor 
    7176   TYPE(file_descriptor), DIMENSION(jpmax_files), PUBLIC ::   iom_file !: array containing the info for all opened files 
    72  
    7377   INTEGER, PARAMETER, PUBLIC                   :: max_rst_fields = 95   
    74  
     78   TYPE, PUBLIC :: RST_FIELD   
     79    CHARACTER(len=30) :: vname = "NO_NAME" ! names of variables in restart file 
     80    CHARACTER(len=30) :: grid = "NO_GRID" 
     81    LOGICAL           :: active =.FALSE. ! for restart write only: true - write field, false do not write field 
     82   END TYPE RST_FIELD 
    7583!$AGRIF_END_DO_NOT_TREAT 
    7684 
    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) 
     85   TYPE(RST_FIELD), PUBLIC :: rst_wfields(max_rst_fields), rst_fields(max_rst_fields) 
    8286 
    8387   !!===================================================================== 
Note: See TracChangeset for help on using the changeset viewer.