Changeset 1869 for XIOS/dev/dev_ym/XIOS_COUPLING/src/node/axis.hpp
- Timestamp:
- 04/15/20 13:23:39 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/node/axis.hpp
r1847 r1869 86 86 void addRelFileCompressed(const StdString& filename); 87 87 88 /// Vérifications /// 89 void checkAttributes(void); 88 90 89 91 90 /// Destructeur /// … … 102 101 103 102 static bool dispatchEvent(CEventServer& event); 103 104 /// Vérifications /// 105 void checkAttributes(void); 106 bool checkAttributes_done_ = false ; 104 107 105 108 void checkAttributesOnClient(); … … 121 124 bool isEqual(CAxis* axis); 122 125 126 bool checkIfCompleted(void) ; 127 void setCompleted(void) ; 128 void setUncompleted(void) ; 129 123 130 public: 124 131 bool hasValue; … … 127 134 128 135 CArray<int,1> localIndexToWriteOnServer; 136 137 void computeConnectedClients(CContextClient* client, const std::vector<int>& globalDim, int orderPositionInGrid); 138 private: std::set<CContextClient*> computeConnectedClients_done_ ; public : 139 /** The number of server of a context client. Avoid to re-compute indice computed in a previous computeConnectedClient */ 140 private: std::set<int> listNbServer_ ; public: 129 141 130 142 private: … … 137 149 void sendDistributionAttribute(const std::vector<int>& globalDim, int orderPositionInGrid, 138 150 CServerDistributionDescription::ServerDistributionType distType); 139 void computeConnectedClients(const std::vector<int>& globalDim, int orderPositionInGrid, 140 CServerDistributionDescription::ServerDistributionType distType); 151 141 152 142 153 void sendNonDistributedAttributes(void); … … 157 168 std::list<CContextClient*> clients; 158 169 std::set<CContextClient*> clientsSet; 170 171 /** define if the axis is completed or not ie all attributes have been received before in case 172 of grid reading from file or coupling */ 173 bool isCompleted_=true ; 159 174 160 175 bool isChecked; … … 165 180 //! True if and only if the data defined on the axis can be outputted in a compressed way 166 181 bool isCompressible_; 182 167 183 std::map<int, map<int,int> > nbSenders; // Mapping of number of communicating client to a server 168 184 std::map<int, std::unordered_map<int, vector<size_t> > > indSrv_; // Global index of each client sent to server
Note: See TracChangeset
for help on using the changeset viewer.