Ignore:
Timestamp:
11/04/15 15:50:20 (8 years ago)
Author:
rlacroix
Message:

Update the Fortran API.

It had been forgotten in recent changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/interface/fortran_attr/ifilegroup_attr.F90

    r711 r779  
    1313  SUBROUTINE xios(set_filegroup_attr)  & 
    1414    ( filegroup_id, append, compression_level, description, enabled, format, group_ref, min_digits  & 
    15     , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format  & 
    16     , sync_freq, time_counter, timeseries, ts_prefix, type ) 
     15    , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq  & 
     16    , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 
    1717 
    1818    IMPLICIT NONE 
     
    3434      INTEGER  , OPTIONAL, INTENT(IN) :: output_level 
    3535      CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: par_access 
     36      INTEGER  , OPTIONAL, INTENT(IN) :: record_offset 
    3637      TYPE(txios(duration))  , OPTIONAL, INTENT(IN) :: split_freq 
    3738      CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format 
     
    4546      CALL xios(set_filegroup_attr_hdl_)   & 
    4647      ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits  & 
    47       , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format  & 
    48       , sync_freq, time_counter, timeseries, ts_prefix, type ) 
     48      , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq  & 
     49      , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 
    4950 
    5051  END SUBROUTINE xios(set_filegroup_attr) 
     
    5253  SUBROUTINE xios(set_filegroup_attr_hdl)  & 
    5354    ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits  & 
    54     , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format  & 
    55     , sync_freq, time_counter, timeseries, ts_prefix, type ) 
     55    , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq  & 
     56    , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 
    5657 
    5758    IMPLICIT NONE 
     
    7273      INTEGER  , OPTIONAL, INTENT(IN) :: output_level 
    7374      CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: par_access 
     75      INTEGER  , OPTIONAL, INTENT(IN) :: record_offset 
    7476      TYPE(txios(duration))  , OPTIONAL, INTENT(IN) :: split_freq 
    7577      CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format 
     
    8284      CALL xios(set_filegroup_attr_hdl_)  & 
    8385      ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits  & 
    84       , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format  & 
    85       , sync_freq, time_counter, timeseries, ts_prefix, type ) 
     86      , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq  & 
     87      , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 
    8688 
    8789  END SUBROUTINE xios(set_filegroup_attr_hdl) 
     
    8991  SUBROUTINE xios(set_filegroup_attr_hdl_)   & 
    9092    ( filegroup_hdl, append_, compression_level_, description_, enabled_, format_, group_ref_, min_digits_  & 
    91     , mode_, name_, name_suffix_, output_freq_, output_level_, par_access_, split_freq_, split_freq_format_  & 
    92     , sync_freq_, time_counter_, timeseries_, ts_prefix_, type_ ) 
     93    , mode_, name_, name_suffix_, output_freq_, output_level_, par_access_, record_offset_, split_freq_  & 
     94    , split_freq_format_, sync_freq_, time_counter_, timeseries_, ts_prefix_, type_ ) 
    9395 
    9496    IMPLICIT NONE 
     
    109111      INTEGER  , OPTIONAL, INTENT(IN) :: output_level_ 
    110112      CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: par_access_ 
     113      INTEGER  , OPTIONAL, INTENT(IN) :: record_offset_ 
    111114      TYPE(txios(duration))  , OPTIONAL, INTENT(IN) :: split_freq_ 
    112115      CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format_ 
     
    171174      ENDIF 
    172175 
     176      IF (PRESENT(record_offset_)) THEN 
     177        CALL cxios_set_filegroup_record_offset(filegroup_hdl%daddr, record_offset_) 
     178      ENDIF 
     179 
    173180      IF (PRESENT(split_freq_)) THEN 
    174181        CALL cxios_set_filegroup_split_freq(filegroup_hdl%daddr, split_freq_) 
     
    203210  SUBROUTINE xios(get_filegroup_attr)  & 
    204211    ( filegroup_id, append, compression_level, description, enabled, format, group_ref, min_digits  & 
    205     , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format  & 
    206     , sync_freq, time_counter, timeseries, ts_prefix, type ) 
     212    , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq  & 
     213    , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 
    207214 
    208215    IMPLICIT NONE 
     
    224231      INTEGER  , OPTIONAL, INTENT(OUT) :: output_level 
    225232      CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: par_access 
     233      INTEGER  , OPTIONAL, INTENT(OUT) :: record_offset 
    226234      TYPE(txios(duration))  , OPTIONAL, INTENT(OUT) :: split_freq 
    227235      CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format 
     
    235243      CALL xios(get_filegroup_attr_hdl_)   & 
    236244      ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits  & 
    237       , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format  & 
    238       , sync_freq, time_counter, timeseries, ts_prefix, type ) 
     245      , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq  & 
     246      , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 
    239247 
    240248  END SUBROUTINE xios(get_filegroup_attr) 
     
    242250  SUBROUTINE xios(get_filegroup_attr_hdl)  & 
    243251    ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits  & 
    244     , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format  & 
    245     , sync_freq, time_counter, timeseries, ts_prefix, type ) 
     252    , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq  & 
     253    , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 
    246254 
    247255    IMPLICIT NONE 
     
    262270      INTEGER  , OPTIONAL, INTENT(OUT) :: output_level 
    263271      CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: par_access 
     272      INTEGER  , OPTIONAL, INTENT(OUT) :: record_offset 
    264273      TYPE(txios(duration))  , OPTIONAL, INTENT(OUT) :: split_freq 
    265274      CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format 
     
    272281      CALL xios(get_filegroup_attr_hdl_)  & 
    273282      ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits  & 
    274       , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format  & 
    275       , sync_freq, time_counter, timeseries, ts_prefix, type ) 
     283      , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq  & 
     284      , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 
    276285 
    277286  END SUBROUTINE xios(get_filegroup_attr_hdl) 
     
    279288  SUBROUTINE xios(get_filegroup_attr_hdl_)   & 
    280289    ( filegroup_hdl, append_, compression_level_, description_, enabled_, format_, group_ref_, min_digits_  & 
    281     , mode_, name_, name_suffix_, output_freq_, output_level_, par_access_, split_freq_, split_freq_format_  & 
    282     , sync_freq_, time_counter_, timeseries_, ts_prefix_, type_ ) 
     290    , mode_, name_, name_suffix_, output_freq_, output_level_, par_access_, record_offset_, split_freq_  & 
     291    , split_freq_format_, sync_freq_, time_counter_, timeseries_, ts_prefix_, type_ ) 
    283292 
    284293    IMPLICIT NONE 
     
    299308      INTEGER  , OPTIONAL, INTENT(OUT) :: output_level_ 
    300309      CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: par_access_ 
     310      INTEGER  , OPTIONAL, INTENT(OUT) :: record_offset_ 
    301311      TYPE(txios(duration))  , OPTIONAL, INTENT(OUT) :: split_freq_ 
    302312      CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format_ 
     
    361371      ENDIF 
    362372 
     373      IF (PRESENT(record_offset_)) THEN 
     374        CALL cxios_get_filegroup_record_offset(filegroup_hdl%daddr, record_offset_) 
     375      ENDIF 
     376 
    363377      IF (PRESENT(split_freq_)) THEN 
    364378        CALL cxios_get_filegroup_split_freq(filegroup_hdl%daddr, split_freq_) 
     
    393407  SUBROUTINE xios(is_defined_filegroup_attr)  & 
    394408    ( filegroup_id, append, compression_level, description, enabled, format, group_ref, min_digits  & 
    395     , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format  & 
    396     , sync_freq, time_counter, timeseries, ts_prefix, type ) 
     409    , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq  & 
     410    , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 
    397411 
    398412    IMPLICIT NONE 
     
    425439      LOGICAL, OPTIONAL, INTENT(OUT) :: par_access 
    426440      LOGICAL(KIND=C_BOOL) :: par_access_tmp 
     441      LOGICAL, OPTIONAL, INTENT(OUT) :: record_offset 
     442      LOGICAL(KIND=C_BOOL) :: record_offset_tmp 
    427443      LOGICAL, OPTIONAL, INTENT(OUT) :: split_freq 
    428444      LOGICAL(KIND=C_BOOL) :: split_freq_tmp 
     
    443459      CALL xios(is_defined_filegroup_attr_hdl_)   & 
    444460      ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits  & 
    445       , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format  & 
    446       , sync_freq, time_counter, timeseries, ts_prefix, type ) 
     461      , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq  & 
     462      , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 
    447463 
    448464  END SUBROUTINE xios(is_defined_filegroup_attr) 
     
    450466  SUBROUTINE xios(is_defined_filegroup_attr_hdl)  & 
    451467    ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits  & 
    452     , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format  & 
    453     , sync_freq, time_counter, timeseries, ts_prefix, type ) 
     468    , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq  & 
     469    , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 
    454470 
    455471    IMPLICIT NONE 
     
    481497      LOGICAL, OPTIONAL, INTENT(OUT) :: par_access 
    482498      LOGICAL(KIND=C_BOOL) :: par_access_tmp 
     499      LOGICAL, OPTIONAL, INTENT(OUT) :: record_offset 
     500      LOGICAL(KIND=C_BOOL) :: record_offset_tmp 
    483501      LOGICAL, OPTIONAL, INTENT(OUT) :: split_freq 
    484502      LOGICAL(KIND=C_BOOL) :: split_freq_tmp 
     
    498516      CALL xios(is_defined_filegroup_attr_hdl_)  & 
    499517      ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits  & 
    500       , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format  & 
    501       , sync_freq, time_counter, timeseries, ts_prefix, type ) 
     518      , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq  & 
     519      , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 
    502520 
    503521  END SUBROUTINE xios(is_defined_filegroup_attr_hdl) 
     
    505523  SUBROUTINE xios(is_defined_filegroup_attr_hdl_)   & 
    506524    ( filegroup_hdl, append_, compression_level_, description_, enabled_, format_, group_ref_, min_digits_  & 
    507     , mode_, name_, name_suffix_, output_freq_, output_level_, par_access_, split_freq_, split_freq_format_  & 
    508     , sync_freq_, time_counter_, timeseries_, ts_prefix_, type_ ) 
     525    , mode_, name_, name_suffix_, output_freq_, output_level_, par_access_, record_offset_, split_freq_  & 
     526    , split_freq_format_, sync_freq_, time_counter_, timeseries_, ts_prefix_, type_ ) 
    509527 
    510528    IMPLICIT NONE 
     
    536554      LOGICAL, OPTIONAL, INTENT(OUT) :: par_access_ 
    537555      LOGICAL(KIND=C_BOOL) :: par_access__tmp 
     556      LOGICAL, OPTIONAL, INTENT(OUT) :: record_offset_ 
     557      LOGICAL(KIND=C_BOOL) :: record_offset__tmp 
    538558      LOGICAL, OPTIONAL, INTENT(OUT) :: split_freq_ 
    539559      LOGICAL(KIND=C_BOOL) :: split_freq__tmp 
     
    616636      ENDIF 
    617637 
     638      IF (PRESENT(record_offset_)) THEN 
     639        record_offset__tmp = cxios_is_defined_filegroup_record_offset(filegroup_hdl%daddr) 
     640        record_offset_ = record_offset__tmp 
     641      ENDIF 
     642 
    618643      IF (PRESENT(split_freq_)) THEN 
    619644        split_freq__tmp = cxios_is_defined_filegroup_split_freq(filegroup_hdl%daddr) 
Note: See TracChangeset for help on using the changeset viewer.