Changeset 1919
- Timestamp:
- 07/20/20 12:22:40 (4 years ago)
- Location:
- XIOS/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/generic_testcase/context_atm.xml
r1912 r1919 7 7 <domain id="domain" /> 8 8 <domain id="other_domain" /> 9 </domain> 10 9 <domain id="dst_domain" ni_glo="36" nj_glo="18" type="rectilinear"/> 10 </domain_definition> 11 11 12 <axis_definition> 12 13 <axis id="axis" /> … … 15 16 <axis id="ensemble" /> 16 17 18 17 19 <axis id="other_axis" /> 18 20 <axis id="other_domain_X" /> … … 41 43 <axis axis_ref="axis" /> 42 44 </grid> 45 46 47 43 48 44 49 <grid id="grid_X"> … … 294 299 295 300 <file_definition type="one_file" > 296 297 <file id="atm_output" output_freq="1ts" type="one_file" enabled="true"> 301 <file id="atm_output_reduction" output_freq="6ts" type="one_file" enabled="true"> 302 <field field_ref="field2D" freq_op="3ts" operation="average" name="field2D_average"/> 303 <field field_ref="field2D" freq_op="3ts" operation="accumulate" name="field2D_sum"/> 304 <field field_ref="field2D" freq_op="3ts" operation="maximum" name="field2D_max"/> 305 <field field_ref="field2D" freq_op="3ts" operation="minimum" name="field2D_min"/> 306 </file> 307 308 <file id="atm_output_ref" output_freq="1ts" type="one_file" enabled="true"> 309 <field field_ref="field2D" /> 310 </file> 311 312 313 314 <file id="atm_output" output_freq="1ts" type="one_file" enabled="false"> 298 315 <field field_ref="field3D" /> 299 316 <field field_ref="field2D" /> … … 309 326 </file> 310 327 311 <file id="atm_output_other" output_freq="1ts" type="one_file" enabled=" true">328 <file id="atm_output_other" output_freq="1ts" type="one_file" enabled="false"> 312 329 <field field_ref="other_field3D" /> 313 330 <field field_ref="other_field2D" /> … … 323 340 </file> 324 341 325 <file id="atm_output_W" output_freq="1ts" enabled=" true">342 <file id="atm_output_W" output_freq="1ts" enabled="false"> 326 343 <field field_ref="field3D_W" /> 327 344 <field field_ref="field2D_W" /> -
XIOS/trunk/generic_testcase/iodef.xml
r1904 r1919 9 9 <variable id="domain"> lmdz </variable> 10 10 <variable id="domain_mask"> true </variable> 11 <variable id="axis_mask"> true </variable>11 <variable id="axis_mask"> false </variable> 12 12 <variable id="init_field2D"> rank </variable> 13 13 <variable id="ni"> 36 </variable> -
XIOS/trunk/generic_testcase/param.def
r1912 r1919 1 1 ¶ms_run 2 2 duration='1d' 3 nb_proc_atm= 13 nb_proc_atm=4 4 4 / -
XIOS/trunk/src/node/extract_domain_to_axis.cpp
r980 r1919 66 66 { 67 67 case direction_attr::jDir: 68 if (axis_n_glo != domain_n i_glo)68 if (axis_n_glo != domain_nj_glo) 69 69 ERROR("CExtractDomainToAxis::checkValid(CAxis* axisDst, CDomain* domainSrc)", 70 << "Extract domain along j, axis destination should have n_glo equal to n i_glo of domain source"71 << "Domain source " <<domainSrc->getId() << " has nj_glo " << domain_n i_glo << std::endl70 << "Extract domain along j, axis destination should have n_glo equal to nj_glo of domain source" 71 << "Domain source " <<domainSrc->getId() << " has nj_glo " << domain_nj_glo << std::endl 72 72 << "Axis destination " << axisDst->getId() << " has n_glo " << axis_n_glo); 73 if ((position < 0) || (position > domain_ni_glo))73 if ((position < 0) || (position >= domain_ni_glo)) 74 74 ERROR("CExtractDomainToAxis::checkValid(CAxis* axisDst, CDomain* domainSrc)", 75 << "Extract domain along j, position should be inside 0 and ni_glo of domain source"76 << "Domain source " <<domainSrc->getId() << " has n j_glo " << domain_ni_glo << std::endl75 << "Extract domain along j, position should be inside 0 and ni_glo-1 of domain source" 76 << "Domain source " <<domainSrc->getId() << " has ni_glo " << domain_ni_glo << std::endl 77 77 << "Axis destination " << axisDst->getId() << std::endl 78 78 << "Position " << position); … … 80 80 81 81 case direction_attr::iDir: 82 if (axis_n_glo != domain_n j_glo)82 if (axis_n_glo != domain_ni_glo) 83 83 ERROR("CExtractDomainToAxis::checkValid(CAxis* axisDst, CDomain* domainSrc)", 84 << "Extract domain along i, axis destination should have n_glo equal to n j_glo of domain source"85 << "Domain source " <<domainSrc->getId() << " has n j_glo " << domain_nj_glo << std::endl84 << "Extract domain along i, axis destination should have n_glo equal to ni_glo of domain source" 85 << "Domain source " <<domainSrc->getId() << " has ni_glo " << domain_ni_glo << std::endl 86 86 << "Axis destination " << axisDst->getId() << " has n_glo " << axis_n_glo); 87 if ((position < 0) || (position > domain_nj_glo))87 if ((position < 0) || (position >= domain_nj_glo)) 88 88 ERROR("CExtractDomainToAxis::checkValid(CAxis* axisDst, CDomain* domainSrc)", 89 << "Extract domain along i, position should be inside 0 and nj_glo of domain source"90 << "Domain source " <<domainSrc->getId() << " has nj_glo " << domain_n i_glo << std::endl89 << "Extract domain along i, position should be inside 0 and nj_glo-1 of domain source" 90 << "Domain source " <<domainSrc->getId() << " has nj_glo " << domain_nj_glo << std::endl 91 91 << "Axis destination " << axisDst->getId() << std::endl 92 92 << "Position " << position);
Note: See TracChangeset
for help on using the changeset viewer.