Changeset 630 for XIOS/trunk/src/transformation/grid_transformation.hpp
- Timestamp:
- 07/07/15 10:46:25 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/transformation/grid_transformation.hpp
r624 r630 24 24 This class is an interface for all transformations to interact with the rest of XIOS. 25 25 The class, firstly, tries to get all information relating to requested transformations by retrieving directly from grid. 26 Then with all these information, all necessary transformations will be becreated by generic class \class CGenericAlgorithmTransformation.26 Then with all these information, all necessary transformations will be created by generic class \class CGenericAlgorithmTransformation. 27 27 Because there are information exchange among clients to accomplish the transformations (e.g: some index need retrieving from other clients), 28 28 this class uses class \class CTransformationMapping to fulfill this demand. … … 41 41 42 42 const std::map<int, CArray<int,1>* >& getLocalIndexToSendFromGridSource() const; 43 const std::map<int, std::vector< CArray<int,1>*> >& getLocalIndexToReceiveOnGridDest() const;43 const std::map<int, std::vector<std::vector<std::pair<int,double> > > >& getLocalIndexToReceiveOnGridDest() const; 44 44 45 45 private: … … 55 55 void setUpGrid(int elementPositionInGrid, ETranformationType transType); 56 56 void computeFinalTransformationMapping(); 57 void computeTransformationFromOriginalGridSource(const std::map<size_t, std:: set<size_t> >& globaIndexMapFromDestToSource);57 void computeTransformationFromOriginalGridSource(const std::map<size_t, std::vector<std::pair<size_t,double> > >& globaIndexMapFromDestToSource); 58 58 void updateFinalGridDestination(); 59 59 … … 89 89 90 90 //! Local index of data to receive on grid destination 91 std::map<int, std::vector<CArray<int,1>*> > localIndexToReceiveOnGridDest_;91 std::map<int,std::vector<std::vector<std::pair<int,double> > > > localIndexToReceiveOnGridDest_; 92 92 93 93 //! Position of axis and domain in grid … … 97 97 CArray<size_t,1>* globalIndexOfCurrentGridSource_; 98 98 CArray<size_t,1>* globalIndexOfOriginalGridSource_; 99 CArray<double,1>* weightOfGlobalIndexOfOriginalGridSource_; 99 100 }; 100 101
Note: See TracChangeset
for help on using the changeset viewer.