Ignore:
Timestamp:
08/25/15 10:50:20 (6 years ago)
Author:
rlacroix
Message:

Avoid using C++11 feature for now.

File:
1 edited

Legend:

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

    r668 r671  
    472472 typedef XIOSBinarySearchWithIndex<size_t> BinarySearch; 
    473473 XIOSAlgorithms::fillInIndex(globalIndexOfCurrentGridSource_.size(), permutIndex); 
    474  XIOSAlgorithms::sortWithIndex<size_t>(globalIndexOfCurrentGridSource_, permutIndex); 
     474 XIOSAlgorithms::sortWithIndex<size_t, CVectorStorage>(globalIndexOfCurrentGridSource_, permutIndex); 
    475475 BinarySearch searchCurrentSrc(globalIndexOfCurrentGridSource_); 
    476476 std::vector<int>::iterator itbIndex = permutIndex.begin(), itIndex, 
     
    603603  // Find out local index on grid destination (received) 
    604604  XIOSAlgorithms::fillInIndex(globalIndexOnClientDest.size(), permutIndex); 
    605   XIOSAlgorithms::sortWithIndex<size_t>(globalIndexOnClientDest, permutIndex); 
     605  XIOSAlgorithms::sortWithIndex<size_t, CVectorStorage>(globalIndexOnClientDest, permutIndex); 
    606606  itbIndex = permutIndex.begin(); 
    607607  iteIndex = permutIndex.end(); 
     
    633633  std::map<int,std::vector<size_t> >::const_iterator itbMap, itMap, iteMap; 
    634634  XIOSAlgorithms::fillInIndex(globalIndexOnClientSrc.size(), permutIndex); 
    635   XIOSAlgorithms::sortWithIndex<size_t>(globalIndexOnClientSrc, permutIndex); 
     635  XIOSAlgorithms::sortWithIndex<size_t, CVectorStorage>(globalIndexOnClientSrc, permutIndex); 
    636636  itbIndex = permutIndex.begin(); 
    637637  iteIndex = permutIndex.end(); 
Note: See TracChangeset for help on using the changeset viewer.