Ignore:
Timestamp:
10/18/16 11:09:00 (8 years ago)
Author:
mhnguyen
Message:

Minor improvements: Removing some redundant codes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/transformation/generic_algorithm_transformation.cpp

    r933 r977  
    180180  // Find out global index source of transformed element on corresponding process. 
    181181  std::vector<boost::unordered_map<int,std::vector<size_t> > > globalElementIndexOnProc(axisDomainDstOrder.numElements()); 
    182   CClientClientDHTInt::Index2VectorInfoTypeMap globalIndexOfTransformedElementOnProc; 
    183   int axisIndex = 0, domainIndex = 0; 
     182  CClientClientDHTInt::Index2VectorInfoTypeMap globalIndexOfTransformedElementOnProc;   
    184183  for (int idx = 0; idx < axisDomainDstOrder.numElements(); ++idx) 
    185184  { 
     
    192191                                   domainListSrcP[elementPositionInGridSrc2DomainPosition_[idx]], 
    193192                                   transPos, 
    194                                    globalElementIndexOnProc[idx]); 
    195       ++domainIndex; 
     193                                   globalElementIndexOnProc[idx]);       
    196194 
    197195    } 
     
    203201                                 transPos, 
    204202                                 globalElementIndexOnProc[idx]); 
    205       ++axisIndex; 
    206  
    207203    } 
    208204    else //it's a scalar 
Note: See TracChangeset for help on using the changeset viewer.