Ignore:
Timestamp:
08/24/15 14:53:13 (9 years ago)
Author:
mhnguyen
Message:

Correcting minor bugs on processing domain transformation

+) Correct domain index calculation in domain transformation
+) Offset index of weight file to make test_remap work correctly

Test
+) On Curie
+) Test_remap pass and result is correct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/domain.cpp

    r660 r663  
    167167      } 
    168168      computeNGlobDomain(); 
     169 
     170      if (0 == global_zoom_ni) global_zoom_ni = ni_glo; 
     171      if (0 == global_zoom_nj) global_zoom_nj = nj_glo; 
    169172   } 
    170173 
     
    558561      // compute client zoom indices 
    559562      // compute client zoom indices 
    560       if (0 == global_zoom_ni) global_zoom_ni = ni_glo; 
    561       if (0 == global_zoom_nj) global_zoom_nj = nj_glo; 
     563//      if (0 == global_zoom_ni) global_zoom_ni = ni_glo; 
     564//      if (0 == global_zoom_nj) global_zoom_nj = nj_glo; 
    562565 
    563566      int global_zoom_iend=global_zoom_ibegin+global_zoom_ni-1 ; 
Note: See TracChangeset for help on using the changeset viewer.