Ignore:
Timestamp:
07/05/16 15:59:18 (5 years ago)
Author:
mhnguyen
Message:

Removing some redundant codes and make some minor improvements

+) Make a check to not do grid generation twice

Test
+) On Curie
+) On test compilation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/inputs/Version2/iodef.xml

    r886 r890  
    1515     <field id="field_Domain_transformed_Interpolated"  operation="average" freq_op="3600s" field_ref="field_A" grid_ref="grid_Domain_tranformed_Interpolated" /> 
    1616     <field id="field_Scalar" operation="average" freq_op="3600s" grid_ref="ScalarGrid" /> 
     17     <field id="field_ReduceScalar" operation="average" field_ref="field_A" freq_op="3600s" grid_ref="ScalarReduceGrid" /> 
    1718     <field id="field_Value"  operation="average" freq_op="3600s" grid_ref="grid_A" /> 
    1819   </field_definition> 
     
    4344        <field field_ref="field_Scalar" /> 
    4445     </file> 
     46     <file id="output_ReduceScalar" name="output_ReduceScalar" type="one_file"> 
     47        <field field_ref="field_ReduceScalar" /> 
     48     </file> 
    4549   </file_definition> 
    4650 
     
    6165   </axis_definition> 
    6266 
     67   <scalar_definition> 
     68     <scalar id="scalar" value="10.0"> 
     69       <reduce_axis operation="max"/> 
     70     </scalar> 
     71   </scalar_definition> 
     72 
    6373   <domain_definition> 
    6474     <domain id="domain_A" /> 
     
    7282       <grid id="grid_A"> 
    7383         <domain domain_ref="domain_A" /> 
    74          <axis axis_ref="axis_C" /> 
     84         <axis axis_ref="axis_C" positive="up"/> 
    7585       </grid> 
    7686       <grid id="grid_Axis"> 
     
    97107         <axis axis_ref="axis_E" /> 
    98108       </grid> 
     109       <grid id="ScalarReduceGrid"> 
     110        <domain domain_ref="domain_A" /> 
     111        <scalar scalar_ref="scalar"/> 
     112       </grid> 
    99113       <grid id="ScalarGrid"> 
     114        <scalar scalar_ref="scalar"/> 
    100115       </grid> 
    101116     </grid_group> 
Note: See TracChangeset for help on using the changeset viewer.