Ignore:
Timestamp:
07/20/17 15:03:43 (7 years ago)
Author:
mhnguyen
Message:

Fixing a minor bug in transformation: No source index at all for transformation

Test
+) On Curie
+) OK

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/XIOS_DEV_CMIP6/src/transformation/generic_algorithm_transformation.cpp

    r1217 r1221  
    148148  CArray<size_t,1> transPos; 
    149149  if (!isTransPosEmpty) transPos.resize(transformationMapping_.size()); 
    150   std::set<size_t> allIndexSrc; 
     150  std::set<size_t> allIndexSrc; // All index of source, which can be scattered among processes, need for doing transformation  
    151151   
    152152  for (size_t idxTrans = 0; idxTrans < transformationMapping_.size(); ++idxTrans) 
     
    199199  computeGlobalIndexOnProc = (0 < recvValue); 
    200200 
    201   if (computeGlobalIndexOnProc) 
     201  if (computeGlobalIndexOnProc || !computedProcSrcNonTransformedElement_) 
    202202  {     
    203203    // Find out global index source of transformed element on corresponding process.     
Note: See TracChangeset for help on using the changeset viewer.