Changeset 1025 for XIOS/dev/dev_olga/src/distribution_server.hpp
- Timestamp:
- 01/11/17 15:14:22 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/distribution_server.hpp
r983 r1025 30 30 const std::vector<int>& nZoomBeginGlobal, 31 31 const std::vector<int>& nGlobal); 32 CDistributionServer(int rank, 33 const std::vector<CArray<int,1> >& globalIndexEachDimension, 34 const std::vector<int>& nGlobal); 32 35 33 36 /** Default destructor */ … … 38 41 const std::vector<int>& getZoomSizeServer() const; 39 42 const GlobalLocalMap& getGlobalLocalIndex() const { return globalLocalIndexMap_; } 43 const std::vector<CArray<int,1> >& getGlobalIndexEachDimension() const; 40 44 41 45 virtual CArray<size_t,1> computeLocalIndex(const CArray<size_t,1>& globalIndex); … … 45 49 protected: 46 50 virtual void createGlobalIndex(); 51 52 void createGlobalIndexFromIndex(const std::vector<CArray<int,1> >& globalIndexOnEachDimension, 53 const std::vector<int>& nbGlobal); 47 54 48 55 protected: … … 54 61 std::vector<int> nZoomSize_; 55 62 std::vector<int> nZoomBegin_; 63 std::vector<CArray<int, 1> > globalIndexEachDimension_; 56 64 57 65 };
Note: See TracChangeset
for help on using the changeset viewer.