Changeset 1025 for XIOS/dev/dev_olga/src/node/axis.hpp
- Timestamp:
- 01/11/17 15:14:22 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/node/axis.hpp
r987 r1025 48 48 EVENT_ID_INDEX, 49 49 EVENT_ID_DISTRIBUTED_VALUE, 50 EVENT_ID_NON_DISTRIBUTED_VALUE 50 EVENT_ID_NON_DISTRIBUTED_VALUE, 51 EVENT_ID_NON_DISTRIBUTED_ATTRIBUTES, 52 EVENT_ID_DISTRIBUTED_ATTRIBUTES 51 53 } ; 52 54 … … 76 78 int getOffsetWrittenIndexes() const; 77 79 80 int getStartWriteIndex() const; 81 int getCountWriteIndex() const; 82 int getLocalWriteSize() const; 83 int getGlobalWriteSize() const; 84 78 85 std::map<int, StdSize> getAttributesBufferSize(); 79 86 … … 101 108 static ENodeType GetType(void); 102 109 103 void sendServerAttribut(const std::vector<int>& globalDim, int orderPositionInGrid,104 CServerDistributionDescription::ServerDistributionType distType);110 // void sendServerAttribut(const std::vector<int>& globalDim, int orderPositionInGrid, 111 // CServerDistributionDescription::ServerDistributionType distType); 105 112 static bool dispatchEvent(CEventServer& event); 106 113 static void recvServerAttribut(CEventServer& event); 107 void recvServerAttribut(CBufferIn& buffer) ;114 // void recvServerAttribut(CBufferIn& buffer) ; 108 115 void checkAttributesOnClient(); 109 116 void checkAttributesOnClientAfterTransformation(const std::vector<int>& globalDim, int orderPositionInGrid, … … 134 141 void checkMask(); 135 142 void checkZoom(); 136 void checkBounds(); 137 void checkTransformations(); 138 void sendValue(); 143 void checkBounds(); 144 void sendAttributes(); 139 145 void computeConnectedServer(const std::vector<int>& globalDim, int orderPositionInGrid, 140 146 CServerDistributionDescription::ServerDistributionType distType); 141 void sendDistributedValue();142 void sendNonDistributedValue();143 147 144 static void recvIndex(CEventServer& event); 145 static void recvDistributedValue(CEventServer& event); 146 static void recvNonDistributedValue(CEventServer& event); 147 void recvIndex(int rank, CBufferIn& buffer); 148 void recvDistributedValue(int rank, CBufferIn& buffer); 149 void recvNonDistributedValue(int rank, CBufferIn& buffer); 148 void sendNonDistributedAttributes(void); 149 void sendDistributedAttributes(void); 150 151 static void recvNonDistributedAttributes(CEventServer& event); 152 static void recvDistributedAttributes(CEventServer& event); 153 void recvNonDistributedAttributes(int rank, CBufferIn& buffer); 154 void recvDistributedAttributes(vector<int>& rank, vector<CBufferIn*> buffers); 150 155 151 156 void setTransformations(const TransMapTypes&); … … 161 166 bool isCompressible_; 162 167 std::map<int,int> nbConnectedClients_; // Mapping of number of communicating client to a server 163 std::map<int, vector<size_t> > indSrv_; // Global index of each client sent to server168 boost::unordered_map<int, vector<size_t> > indSrv_; // Global index of each client sent to server 164 169 std::map<int, vector<int> > indWrittenSrv_; // Global written index of each client sent to server 170 boost::unordered_map<size_t,size_t> globalLocalIndexMap_; 165 171 std::vector<int> indexesToWrite; 166 172 int numberWrittenIndexes_, totalNumberWrittenIndexes_, offsetWrittenIndexes_; … … 168 174 std::map<int, CArray<int,1> > indiSrv_; 169 175 bool hasBounds_; 176 177 int start_write_index_; 178 int count_write_index_; 179 int local_write_size_; 180 int global_write_size_; 170 181 171 182 private:
Note: See TracChangeset
for help on using the changeset viewer.