Ignore:
Timestamp:
10/05/15 14:43:48 (6 years ago)
Author:
mhnguyen
Message:

Temporary modification of auto-generate domain. This should be changed to a better solution

+) Divide a rectangular domain into parts being equal to number of procs

Test
+) On local with 2 procs, mode server and attached.
+) test_remap passes and result is correct

File:
1 edited

Legend:

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

    r709 r715  
    88   <field_definition level="1" > 
    99     <field id="src_field"  operation="instant" grid_ref="src_grid"/> 
    10      <field id="dst_field"  operation="instant" field_ref="src_field" grid_ref="dst_grid"/> 
    11      <field id="dst_field_regular"  operation="instant" field_ref="src_field" grid_ref="dst_grid_regular"/> 
     10     <field id="dst_field_regular"  operation="instant" field_ref="tmp_field" grid_ref="dst_grid_regular"/> 
     11     <field id="tmp_field"  operation="instant" grid_ref="src_grid_regular"/> 
    1212   </field_definition> 
    1313 
    1414 
    15    <file_definition type="one_file" par_access="collective" output_freq="1ts" output_level="10" enabled=".TRUE."> 
     15   <file_definition type="multiple_file" par_access="collective" output_freq="1ts" output_level="10" enabled=".TRUE."> 
    1616     <file id="output" name="output"> 
    17         <field field_ref="src_field" name="field" /> 
     17<!--        <field field_ref="src_field" name="field" />--> 
    1818     </file> 
    1919     <file id="output_dst" name="output_dst"> 
    20         <field field_ref="dst_field" name="field" /> 
     20<!--        <field id="test" field_ref="dst_field" name="field" />--> 
    2121     </file> 
    22      <file id="output_dst_regular" name="output_dst_regular"> 
     22     <file id="output_dst_regular" name="output_dst_regular" type="one_file"> 
    2323        <field field_ref="dst_field_regular" name="field" /> 
     24     </file> 
     25 
     26     <file id="output_src_regular" name="output_src_regular" mode="read" type="multiple_file"> 
     27        <field id="src_field_regular" name="field" grid_ref="src_grid_regular" operation="instant"/> 
     28     </file> 
     29     <file id="output_regular" name="output_regular" mode="write"> 
     30<!--        <field field_ref="field_regular" name="field" />--> 
    2431     </file> 
    2532   </file_definition> 
     
    3542       <interpolate_domain/> 
    3643     </domain> 
    37      <domain id="dst_domain_regular" domain_src="src_domain" ni_glo="180" nj_glo="90"> 
     44     <domain id="dst_domain_regular" domain_src="src_domain_regular" ni_glo="90" nj_glo="60" type="rectilinear"> 
    3845       <generate_rectilinear_domain /> 
    3946       <interpolate_domain/> 
     47     </domain> 
     48     <domain id="src_domain_regular" ni_glo="180" nj_glo="90" type="rectilinear"> 
     49       <generate_rectilinear_domain /> 
    4050     </domain> 
    4151   </domain_definition> 
     
    5060     <grid id="src_grid"> 
    5161       <domain domain_ref="src_domain" /> 
     62     </grid> 
     63     <grid id="src_grid_regular"> 
     64       <domain domain_ref="src_domain_regular" /> 
    5265     </grid> 
    5366   </grid_definition> 
Note: See TracChangeset for help on using the changeset viewer.