Changeset 1940 for XIOS/dev/dev_ym/XIOS_COUPLING/src/node/scalar.hpp
- Timestamp:
- 09/24/20 12:12:53 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/node/scalar.hpp
r1934 r1940 41 41 , public CScalarAttributes 42 42 { 43 friend class CScalarGroup; 44 43 45 /// typedef /// 44 46 typedef CObjectTemplate<CScalar> SuperClass; 45 47 typedef CScalarAttributes SuperClassAttribute; 46 48 47 friend class CScalarGroup; 49 public: 50 enum EEventId 51 { 52 EVENT_ID_SCALAR_DISTRIBUTION, 53 EVENT_ID_SEND_DISTRIBUTED_ATTRIBUTE, 54 } ; 55 static bool dispatchEvent(CEventServer& event); 56 48 57 49 58 public : … … 166 175 public: 167 176 void computeRemoteElement(CContextClient* client, EDistributionType) ; 168 void distributeToServer(CContextClient* client, std::map<int, CArray<size_t,1>>& globalIndex) ; 177 void distributeToServer(CContextClient* client, std::map<int, CArray<size_t,1>>& globalIndex, const string& scalarId="") ; 178 static void recvScalarDistribution(CEventServer& event) ; 179 void receivedScalarDistribution(CEventServer& event, int phasis) ; 180 void sendDistributedAttributes(CContextClient* client, CScattererConnector& scattererConnector, const string& scalarId) ; 181 static void recvDistributedAttributes(CEventServer& event) ; 182 void recvDistributedAttributes(CEventServer& event, const string& type) ; 183 169 184 private: 170 185 map<CContextClient*, CDistributedElement*> remoteElement_ ; … … 179 194 CGathererConnector* gathererConnector_ ; 180 195 CGathererConnector* serverFromClientConnector_ ; 196 CDistributedElement* elementFrom_ ; 181 197 public: 182 198 CGathererConnector* getServerFromClientConnector(void) { return serverFromClientConnector_ ;}
Note: See TracChangeset
for help on using the changeset viewer.