source: XIOS/trunk/inputs/COMPLETE/iodef.xml @ 527

Last change on this file since 527 was 527, checked in by rlacroix, 9 years ago

Make the variable typing stricter.

The type must now be one of:

  • bool
  • int or int32
  • int16
  • int64
  • float
  • double
  • string

WARNING: The variable type was previously not checked and using an unsupported type did not lead to any error message. Be aware that this change can make your existing configuration files invalid. However the adjustments required to adapt existing files should be minor.

File size: 673 bytes
Line 
1<?xml version="1.0"?>
2<simulation>
3
4  <context id="atmosphere" src="./context_atmosphere.xml"/>
5
6  <context id="surface" src="./context_surface.xml"/>
7
8  <context id="xios">
9      <variable_definition>
10        <variable_group id="buffer">
11            <variable id="optimal_buffer_size" type="string">memory</variable>
12            <variable id="buffer_factor_size" type="double">1.0</variable> 
13         </variable_group>
14
15        <variable_group id="parameters" >
16          <variable id="info_level" type="int">100</variable>
17          <variable id="print_file" type="bool">true</variable>
18        </variable_group>
19      </variable_definition>
20  </context>
21
22</simulation>
Note: See TracBrowser for help on using the repository browser.