- Timestamp:
- 12/01/21 16:52:24 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/distribution/local_view.cpp
r1930 r2267 6 6 namespace xios 7 7 { 8 CLocalView::CLocalView( CLocalElement*parent, CElementView::type type, const CArray<int,1>& indexView)8 CLocalView::CLocalView(shared_ptr<CLocalElement> parent, CElementView::type type, const CArray<int,1>& indexView) 9 9 : CDistributedView( parent, type, {{ parent->localRank_, indexView }} ), 10 10 localRank_(parent->localRank_), … … 15 15 } 16 16 17 CLocalView::CLocalView( CLocalElement*parent, CElementView::type type, const CArray<bool,1>& maskView)17 CLocalView::CLocalView(shared_ptr<CLocalElement> parent, CElementView::type type, const CArray<bool,1>& maskView) 18 18 : CDistributedView( parent, type, {{ parent->localRank_, maskView }} ), 19 19 localRank_(parent->localRank_), … … 24 24 } 25 25 26 void CLocalView::sendRemoteElement( CRemoteConnector&connector, CContextClient* client, CEventClient& event, const CMessage& messageHeader)26 void CLocalView::sendRemoteElement(shared_ptr<CRemoteConnector> connector, CContextClient* client, CEventClient& event, const CMessage& messageHeader) 27 27 { 28 28 int n = index_.numElements() ; … … 36 36 CMessage message(messageHeader) ; 37 37 message<<globalSize_ ; 38 connector .transferToServer(ind, client, event, message) ;38 connector->transferToServer(ind, client, event, message) ; 39 39 } 40 40
Note: See TracChangeset
for help on using the changeset viewer.