Changeset 610 for XIOS/branchs/xios-1.0/src/node/domain.hpp
- Timestamp:
- 06/10/15 10:39:10 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/branchs/xios-1.0/src/node/domain.hpp
r501 r610 15 15 16 16 namespace xios { 17 17 18 18 /// ////////////////////// Déclarations ////////////////////// /// 19 19 … … 39 39 EVENT_ID_SERVER_ATTRIBUT, EVENT_ID_LON_LAT 40 40 } ; 41 41 42 42 /// typedef /// 43 43 typedef CObjectTemplate<CDomain> SuperClass; … … 68 68 void checkDomainData(void); 69 69 void checkCompression(void); 70 70 71 71 void checkZoom(void); 72 72 void checkBounds(void); … … 74 74 75 75 public : 76 76 77 77 /// Autres /// 78 78 … … 84 84 bool hasZoom(void) const; 85 85 bool isEmpty(void) const; 86 87 86 87 88 88 int ni_client,ibegin_client,iend_client ; 89 89 int zoom_ni_client,zoom_ibegin_client,zoom_iend_client ; … … 100 100 CArray<double, 1> lonvalue_srv, latvalue_srv ; 101 101 CArray<double, 2> bounds_lon_srv, bounds_lat_srv ; 102 103 104 vector<int> connectedServer ; // list of connected server 102 103 104 vector<int> connectedServer ; // list of connected server 105 105 vector<int> nbSenders ; // for each communication with a server, number of communicating client 106 vector<int> nbDataSrv ; // size of data to send to each server 106 vector<int> nbDataSrv ; // size of data to send to each server 107 107 vector< vector<int> > i_indSrv ; // for each server, i global index to send 108 108 vector< vector<int> > j_indSrv ; // for each server, j global index to send 109 109 110 110 CArray<int,2> mapConnectedServer ; // (ni,nj) => mapped to connected server number, -1 if no server is target 111 111 112 112 // vector<int> ib_srv, ie_srv, in_srv ; 113 113 // vector<int> jb_srv, je_srv, jn_srv ; 114 114 115 115 public : 116 116 117 117 /// Mutateur /// 118 118 void addRelFile(const StdString & filename); 119 119 void completeLonLatClient(void); 120 void sendServerAttribut(void) 121 void sendLonLat(void) 122 void computeConnectedServer(void) 123 static bool dispatchEvent(CEventServer& event) 124 static void recv LonLat(CEventServer& event);125 static void recv ServerAttribut(CEventServer& event);126 void recv LonLat(CBufferIn& buffer);127 void recv ServerAttribut(CBufferIn& buffer);128 120 void sendServerAttribut(void); 121 void sendLonLat(void); 122 void computeConnectedServer(void); 123 static bool dispatchEvent(CEventServer& event); 124 static void recvServerAttribut(CEventServer& event); 125 static void recvLonLat(CEventServer& event); 126 void recvServerAttribut(CBufferIn& buffer); 127 void recvLonLat(int rank, CBufferIn& buffer); 128 129 129 /// Destructeur /// 130 130 virtual ~CDomain(void); … … 133 133 static StdString GetName(void); 134 134 static StdString GetDefName(void); 135 135 136 136 static ENodeType GetType(void); 137 137 … … 144 144 bool isChecked; 145 145 std::set<StdString> relFiles; 146 std::map<int, CArray<int,1> > indiSrv, indjSrv; 146 147 147 148 }; // class CDomain
Note: See TracChangeset
for help on using the changeset viewer.