Changeset 1158 for XIOS/dev/dev_olga/src/distribution_client.cpp
- Timestamp:
- 06/06/17 17:58:16 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/distribution_client.cpp
r1144 r1158 152 152 infoIndex_.resize(this->dims_); 153 153 154 // A trick to determine position of each domain in domainList 155 int domIndex = 0, axisIndex = 0, scalarIndex = 0; 156 idx = 0; 157 154 158 elementLocalIndex_.resize(numElement_); 155 159 elementGlobalIndex_.resize(numElement_); … … 158 162 elementNLocal_.resize(numElement_); 159 163 elementNGlobal_.resize(numElement_); 160 161 164 elementNLocal_[0] = 1; 162 165 elementNGlobal_[0] = 1; 166 size_t localSize = 1, globalSize = 1; 167 163 168 isDataDistributed_ = false; 164 165 size_t localSize = 1, globalSize = 1;166 167 // A trick to determine position of each domain in domainList168 int domIndex = 0, axisIndex = 0, scalarIndex = 0;169 idx = 0;170 171 172 169 // Update all the vectors above 173 170 for (idx = 0; idx < numElement_; ++idx)
Note: See TracChangeset
for help on using the changeset viewer.