Changeset 676 for XIOS/trunk/src/distribution_server.cpp
- Timestamp:
- 08/25/15 16:52:45 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/distribution_server.cpp
r668 r676 146 146 } 147 147 148 /*! 149 Transforms local indexes owned by the server into global indexes 150 \param [in/out] indexes on input, local indexes of the server, 151 on output, the corresponding global indexes 152 */ 153 void CDistributionServer::computeGlobalIndex(CArray<int,1>& indexes) const 154 { 155 for (int i = 0; i < indexes.numElements(); ++i) 156 { 157 indexes(i) = globalIndex_(indexes(i)); 158 } 159 } 148 160 149 std::vector<int> CDistributionServer::getZoomBeginGlobal() const 161 162 const std::vector<int>& CDistributionServer::getZoomBeginGlobal() const 150 163 { 151 164 return nZoomBeginGlobal_; 152 165 } 153 166 154 std::vector<int>CDistributionServer::getZoomBeginServer() const167 const std::vector<int>& CDistributionServer::getZoomBeginServer() const 155 168 { 156 169 return nZoomBegin_; 157 170 } 158 171 159 std::vector<int>CDistributionServer::getZoomSizeServer() const172 const std::vector<int>& CDistributionServer::getZoomSizeServer() const 160 173 { 161 174 return nZoomSize_;
Note: See TracChangeset
for help on using the changeset viewer.