Changeset 2236 for XIOS/dev/dev_ym/XIOS_COUPLING/src/node
- Timestamp:
- 09/20/21 18:18:17 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/node/grid.cpp
r2206 r2236 18 18 #include "server.hpp" 19 19 #include "distribution_type.hpp" 20 #include "grid_ remote_connector.hpp"20 #include "grid_client_server_remote_connector.hpp" 21 21 #include "grid_elements.hpp" 22 22 #include "grid_local_view.hpp" … … 1429 1429 1430 1430 vector<CLocalView*> localViews ; 1431 vector<CLocalView*> workflowView ; 1431 1432 vector<CDistributedView*> remoteViews ; 1432 1433 … … 1439 1440 remoteViews.push_back(domain->getRemoteElement(client)->getView(CElementView::FULL)) ; 1440 1441 localViews.push_back(domain->getLocalView(CElementView::FULL)) ; 1442 workflowView.push_back(domain->getLocalView(CElementView::WORKFLOW)) ; 1441 1443 } 1442 1444 else if (elements[i].type==TYPE_AXIS) … … 1446 1448 remoteViews.push_back(axis->getRemoteElement(client)->getView(CElementView::FULL)) ; 1447 1449 localViews.push_back(axis->getLocalView(CElementView::FULL)) ; 1450 workflowView.push_back(axis->getLocalView(CElementView::WORKFLOW)) ; 1448 1451 } 1449 1452 else if (elements[i].type==TYPE_SCALAR) … … 1453 1456 remoteViews.push_back(scalar->getRemoteElement(client)->getView(CElementView::FULL)) ; 1454 1457 localViews.push_back(scalar->getLocalView(CElementView::FULL)) ; 1455 } 1456 } 1457 CGridRemoteConnector gridRemoteConnector(localViews, remoteViews, context->getIntraComm(), client->getRemoteSize()) ; 1458 workflowView.push_back(scalar->getLocalView(CElementView::WORKFLOW)) ; 1459 } 1460 } 1461 1462 // CGridClientServerRemoteConnector : workflowView is added to avoid spurious optimisation with only the fullview 1463 CGridClientServerRemoteConnector gridRemoteConnector(localViews, workflowView, remoteViews, context->getIntraComm(), client->getRemoteSize()) ; 1458 1464 gridRemoteConnector.computeConnector() ; 1459 1465
Note: See TracChangeset
for help on using the changeset viewer.