- 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/remote_connector.hpp
r1918 r2267 17 17 { 18 18 private: 19 CLocalView*srcView_;20 CDistributedView*dstView_;19 shared_ptr<CLocalView> srcView_; 20 shared_ptr<CDistributedView> dstView_; 21 21 map<int, vector<int>> connector_ ; // connector[rank][srcIndex] 22 22 … … 26 26 27 27 public: 28 CRemoteConnector( CLocalView* srcView, CDistributedView*dstView, MPI_Comm localComm) : srcView_(srcView), dstView_(dstView), localComm_(localComm){} ;28 CRemoteConnector(shared_ptr<CLocalView> srcView, shared_ptr<CDistributedView> dstView, MPI_Comm localComm) : srcView_(srcView), dstView_(dstView), localComm_(localComm){} ; 29 29 void computeConnector(void) ; 30 30 map<int, CArray<size_t,1>>& getDistributedGlobalIndex() { return element_ ;}
Note: See TracChangeset
for help on using the changeset viewer.