Changeset 1981


Ignore:
Timestamp:
11/24/20 11:35:16 (10 months ago)
Author:
yushan
Message:

trunk : axis interpolate. Update related xml example

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/generic_testcase/context_atm.xml

    r1923 r1981  
    1414    <axis id="domain_Y" /> 
    1515    <axis id="ensemble" /> 
     16    <axis id="axis_read" n_glo="2" value="(0,1)[100000 0]"/>  
     17    <scalar id="axis_trans"  > 
     18      <extract_axis position="2" /> 
     19    </scalar>  
     20     
     21    <axis id="axis_ex" axis_ref="axis_read"  > 
     22      <extract_axis n="1" begin="1"  /> 
     23    </axis>  
     24 
     25    <axis id="axis_inter" axis_ref="axis" > 
     26      <interpolate_axis order="1" coordinate_src="pressure" coordinate_dst="pressure_shifted"  /> 
     27    </axis>  
     28 
     29 
    1630 
    1731    <axis id="other_axis" /> 
     
    4256    </grid> 
    4357    
     58    <grid id="grid3D_read"> 
     59      <domain domain_ref="domain" /> 
     60      <axis axis_ref="axis_read" /> 
     61    </grid> 
     62  
     63  
     64 
     65    <grid id="grid3D_trans"> 
     66      <domain domain_ref="domain" /> 
     67      <scalar scalar_ref="axis_trans" /> 
     68    </grid> 
     69  
     70    <grid id="grid3D_ex"> 
     71      <domain domain_ref="domain" /> 
     72      <axis axis_ref="axis_ex" /> 
     73    </grid> 
     74 
     75    <grid id="grid3D_inter"> 
     76      <domain domain_ref="domain" /> 
     77      <axis axis_ref="axis_inter" /> 
     78    </grid> 
     79 
     80 
     81 
    4482 
    4583    <grid id="grid_X"> 
     
    226264  <field_definition level="1" prec="8" operation="instant" freq_op="1ts" enabled=".true." default_value="1.e+20" detect_missing_value="true"> 
    227265    <field id="field2D" grid_ref="grid2D" /> 
    228     <field id="field3D" grid_ref="grid3D"  /> 
     266    <field id="field3D" grid_ref="grid3D" /> 
    229267    <field id="pressure" grid_ref="grid3D"  /> 
     268    <field id="pressure_shifted" grid_ref="grid3D" />  
    230269    <field id="field3D_recv" read_access="true" grid_ref="grid3D"  field_ref="field3D" /> 
    231270    <field id="field3D_resend" grid_ref="grid3D" /> 
     271     
     272    <field id="field_input" read_access="true" grid_ref="grid3D_read" /> 
     273    <field id="field_out" grid_ref="grid3D_read" /> 
    232274 
    233275    <field id="field_X" grid_ref="grid_X" /> 
     
    294336   
    295337 
    296   <file_definition  type="one_file" > 
    297  
    298    
    299     <file id="atm_output" output_freq="1ts" type="one_file" enabled="true"> 
     338  <file_definition  type="one_file" par_access="collective" > 
     339 
     340 
     341    <file id="write" name="Output" mode="write" output_freq="12ts" type="one_file" enabled="false"> 
     342       <field id="field3D_out" field_ref="field_out" /> 
     343       <field id="field3D_trans" field_ref="field_out" grid_ref="grid3D_trans"/> 
     344       <field id="field3D_ex" field_ref="field_out" grid_ref="grid3D_ex"/> 
     345    </file> 
     346 
     347 
     348 
     349    <file id="write_bis" name="Output" mode="write" output_freq="24ts" type="one_file" enabled="true"> 
     350       <field field_ref="field3D" /> 
     351       <field field_ref="pressure" /> 
     352       <field field_ref="pressure_shifted" /> 
     353       <field id="field3D_inter" field_ref="field3D" grid_ref="grid3D_inter"/> 
     354    </file> 
     355 
     356 
     357 
     358   
     359    <file id="atm_output" output_freq="1ts" type="one_file" enabled="false"> 
    300360       <field field_ref="field3D" /> 
    301361       <field field_ref="field2D" />  
Note: See TracChangeset for help on using the changeset viewer.