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

Ignore:
Timestamp:
2017-10-20T10:04:07+02:00 (7 years ago)
Author:
andmirek
Message:

ticket #1962 xios write functionality works

File:
1 edited

Legend:

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

    r8630 r8644  
    4646!$AGRIF_DO_NOT_TREAT 
    4747   INTEGER, PUBLIC            ::   iom_open_init = 0   !: used to initialize iom_file(:)%nfid to 0 
    48 !XIOS read restart    
     48!XIOS write restart    
    4949   LOGICAL, PUBLIC            ::   lwxios          !: read single file restart using XIOS 
    5050   INTEGER, PUBLIC            ::   wxioso          !: type of restart file when writing using XIOS 1 - single, 2 - multiple 
     
    7171   END TYPE file_descriptor 
    7272   TYPE(file_descriptor), DIMENSION(jpmax_files), PUBLIC ::   iom_file !: array containing the info for all opened files 
     73 
     74   INTEGER, PARAMETER, PUBLIC                   :: max_rst_fields = 95   
    7375!$AGRIF_END_DO_NOT_TREAT 
     76 
     77   TYPE, PUBLIC :: RST_FIELD   
     78    CHARACTER(len=30) :: vname = "NO_NAME" ! names of variables in restart file 
     79    CHARACTER(len=30) :: grid = "NO_GRID" 
     80    LOGICAL           :: active =.FALSE. ! for restart write only: true - write field, false do not write field 
     81   END TYPE RST_FIELD 
     82   TYPE(RST_FIELD), PUBLIC :: rst_wfields(max_rst_fields) 
     83 
    7484   !!===================================================================== 
    7585END MODULE iom_def 
Note: See TracChangeset for help on using the changeset viewer.