Changeset 676 for XIOS/trunk/src/node/domain.hpp
- Timestamp:
- 08/25/15 16:52:45 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/domain.hpp
r667 r676 47 47 typedef CDomainAttributes SuperClassAttribute; 48 48 49 public 49 public: 50 50 51 51 typedef CDomainAttributes RelAttributes; … … 70 70 void checkAttributesOnClientAfterTransformation(); 71 71 72 void checkEligibilityForCompressedOutput(void); 73 72 74 void sendCheckedAttributes(); 73 75 … … 76 78 TransMapTypes getAllTransformations(); 77 79 78 public 80 public: 79 81 const std::set<StdString> & getRelFiles(void) const; 80 82 bool IsWritten(const StdString & filename) const; 83 bool isWrittenCompressed(const StdString& filename) const; 84 85 const std::vector<int>& getIndexesToWrite(void) const; 86 int getNumberWrittenIndexes() const; 87 int getTotalNumberWrittenIndexes() const; 88 int getOffsetWrittenIndexes() const; 89 81 90 bool isEmpty(void) const; 82 91 bool isDistributed(void) const; 83 92 bool isCompressible(void) const; 84 93 85 94 int global_zoom_ibegin, global_zoom_ni; … … 104 113 vector< vector<int> > j_indSrv ; // for each server, j global index to send 105 114 106 public 115 public: 107 116 /// Mutateur /// 108 117 void addRelFile(const StdString & filename); 118 void addRelFileCompressed(const StdString& filename); 109 119 void completeLonLatClient(void); 110 120 void sendServerAttribut(void) ; … … 159 169 void sendLonLat(); 160 170 161 private 171 private: 162 172 bool isChecked; 163 std::set<StdString> relFiles ;173 std::set<StdString> relFiles, relFilesCompressed; 164 174 bool isClientChecked; // Verify whether all attributes of domain on the client side are good 165 175 bool isClientAfterTransformationChecked; … … 167 177 std::map<int,int> nbConnectedClients_; // Mapping of number of communicating client to a server 168 178 std::map<int, vector<size_t> > indSrv_; // Global index of each client sent to server 179 std::map<int, vector<int> > indWrittenSrv_; // Global written index of each client sent to server 180 std::vector<int> indexesToWrite; 181 int numberWrittenIndexes_, totalNumberWrittenIndexes_, offsetWrittenIndexes_; 169 182 std::vector<int> connectedServerRank_; 170 183 bool isDistributed_; 184 //! True if and only if the data defined on the domain can be outputted in a compressed way 185 bool isCompressible_; 171 186 TransMapTypes transformationMap_; 172 187 std::vector<int> nGlobDomain_;
Note: See TracChangeset
for help on using the changeset viewer.