Changeset 2601
- Timestamp:
- 11/27/23 11:18:23 (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/trunk/src/node/domain.cpp
r2545 r2601 2126 2126 int nbServer = client->getRemoteSize(); 2127 2127 int nglo=ni_glo*nj_glo ; 2128 CArray<size_t,1> indGlo ;2128 CArray<size_t,1> indGlo(nglo) ; 2129 2129 for(size_t i=0;i<nglo;i++) indGlo(i) = i ; 2130 for (auto& rankServer : client->getRanksServerLeader()) globalIndex[rankServer] = indGlo;2130 for (auto& rankServer : client->getRanksServerLeader()) globalIndex[rankServer].reference(indGlo.copy()); ; 2131 2131 } 2132 2132 remoteElement_[client] = make_shared<CDistributedElement>(ni_glo*nj_glo, globalIndex) ;
Note: See TracChangeset
for help on using the changeset viewer.