Ignore:
Timestamp:
04/26/16 16:04:04 (8 years ago)
Author:
mhnguyen
Message:

Several improvements

+) Replace some time-consuming operations by simpler ones

Test
+) On Curie
+) All tests pass

File:
1 edited

Legend:

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

    r833 r843  
    2121class CGenericAlgorithmTransformation 
    2222{ 
     23protected: 
     24  typedef std::vector<std::pair<int, std::pair<size_t,double> > > DestinationGlobalIndex; 
    2325public: 
    2426  // Stupid global index map, it must be replaced by tuple 
    2527  // Mapping between global index map of DESTINATION and its local index with pair of global index of SOURCE and weights 
    26   typedef boost::unordered_map<size_t, std::vector<std::pair<int, std::pair<size_t,double> > > > DestinationIndexMap; 
     28  typedef boost::unordered_map<size_t, DestinationGlobalIndex> DestinationIndexMap; 
     29 
    2730protected: 
    2831  typedef boost::unordered_map<size_t,int> GlobalLocalMap; 
Note: See TracChangeset for help on using the changeset viewer.