Changeset 2002 for XIOS/dev/dev_ym/XIOS_COUPLING/src/node/context.cpp
- Timestamp:
- 01/05/21 10:12:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/node/context.cpp
r1988 r2002 1243 1243 for (unsigned int i = 0; i < this->enabledReadModeFiles.size(); ++i) 1244 1244 (void)this->enabledReadModeFiles[i]->readAttributesOfEnabledFieldsInReadMode(); 1245 }1246 CATCH_DUMP_ATTR1247 1248 /*!1249 Go up the hierachical tree via field_ref and do check of attributes of fields1250 This can be done in a client then all computed information will be sent from this client to others1251 \param [in] sendToServer Flag to indicate whether calculated information will be sent1252 */1253 void CContext::solveOnlyRefOfEnabledFields(void)1254 TRY1255 {1256 int size = this->enabledFiles.size();1257 for (int i = 0; i < size; ++i)1258 {1259 this->enabledFiles[i]->solveOnlyRefOfEnabledFields();1260 }1261 1262 for (int i = 0; i < size; ++i)1263 {1264 this->enabledFiles[i]->generateNewTransformationGridDest();1265 }1266 1267 size = this->enabledCouplerOut.size();1268 for (int i = 0; i < size; ++i)1269 {1270 this->enabledCouplerOut[i]->solveOnlyRefOfEnabledFields();1271 }1272 1273 for (int i = 0; i < size; ++i)1274 {1275 this->enabledCouplerOut[i]->generateNewTransformationGridDest();1276 }1277 }1278 CATCH_DUMP_ATTR1279 1280 /*!1281 Go up the hierachical tree via field_ref and do check of attributes of fields.1282 The transformation can be done in this step.1283 All computed information will be sent from this client to others.1284 \param [in] sendToServer Flag to indicate whether calculated information will be sent1285 */1286 void CContext::solveAllRefOfEnabledFieldsAndTransform(void)1287 TRY1288 {1289 int size = this->enabledFiles.size();1290 for (int i = 0; i < size; ++i)1291 {1292 this->enabledFiles[i]->solveAllRefOfEnabledFieldsAndTransform();1293 }1294 1295 size = this->enabledCouplerOut.size();1296 for (int i = 0; i < size; ++i)1297 {1298 this->enabledCouplerOut[i]->solveAllRefOfEnabledFieldsAndTransform();1299 }1300 1301 1245 } 1302 1246 CATCH_DUMP_ATTR
Note: See TracChangeset
for help on using the changeset viewer.