Changeset 489 for XIOS/trunk/inputs


Ignore:
Timestamp:
09/22/14 14:17:33 (10 years ago)
Author:
mhnguyen
Message:

Ticket 50: Implementing the getting/setting methods for Fortran interface

+) Add some C and Fortran functions to set and get data to/from CVariable with an id
+) Add method to send, receive and dispatch in CVariable
+) Add dispatch method in server class

Test
-) On Curie
-) Test data: integer, float, double, boolean, string
-) File: one and multiple, using_server: ON and OFF
+) All test cases passed and had correct results

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/inputs/COMPLETE/context_surface.xml

    r486 r489  
    1717        <variable id="my_attribute2" type="integer" > 10 </variable> 
    1818        <variable id="my_attribute3" type="float" >6.8</variable> 
     19        <variable id="my_attribute4" type="double" >100.201</variable> 
    1920      </field> 
    2021      <field field_ref="field_A_srf_K" /> 
     
    3132        <variable id="my_attribute2" type="integer" >10</variable> 
    3233        <variable id="my_attribute3" type="float" >6.8</variable> 
     34        <variable id="my_attribute4" type="double" >100.201</variable> 
    3335      </field> 
    3436      <field field_ref="field_A_srf_K" /> 
     
    3840      <field field_ref="field_A_srf_max" name="field_A_srf_mean_max" long_name="Average of hourly maximum over 1d" operation="average" freq_op="1h" > @field_A_srf_max </field> 
    3941      <variable id="my_global_attribute" type="string" >file_1d</variable> 
     42      <variable id="my_global_attribute_bool" type="boolean" >false</variable> 
    4043    </file> 
    4144  </file_definition> 
Note: See TracChangeset for help on using the changeset viewer.