Changeset 1956 for XIOS/dev/dev_ym/XIOS_COUPLING/src/node/axis.hpp
- Timestamp:
- 10/08/20 13:10:29 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/node/axis.hpp
r1943 r1956 88 88 bool isWrittenCompressed(const StdString& filename) const; 89 89 bool isDistributed(void) const; 90 bool isCompressible(void) const; 90 91 public: 92 /*! 93 \brief return if the axis can be written or not in a compressed way. 94 ie if there are some masked or indexed point on the domain. Valid only on server side. 95 \return true if domain can be writtedn in a compressed way 96 */ 97 bool isCompressible(void) { if (!isCompressibleComputed_) computeIsCompressible() ; return isCompressible_ ;} 98 private: 99 bool isCompressible_ ; /** specify if the domain can be written in a compressed way */ 100 bool isCompressibleComputed_=false ; /** Indicate if compressability has been computed*/ 101 void computeIsCompressible() ; 102 103 public: 91 104 92 105 /// Mutateur /// … … 120 133 CServerDistributionDescription::ServerDistributionType disType = CServerDistributionDescription::BAND_DISTRIBUTION); 121 134 122 void checkEligibilityForCompressedOutput();123 135 size_t getGlobalWrittenSize(void) ; 124 136 … … 213 225 std::set<StdString> relFiles, relFilesCompressed; 214 226 TransMapTypes transformationMap_; 215 //! True if and only if the data defined on the axis can be outputted in a compressed way216 bool isCompressible_;217 227 218 228 std::map<int, map<int,int> > nbSenders; // Mapping of number of communicating client to a server … … 254 264 public: 255 265 void computeRemoteElement(CContextClient* client, EDistributionType) ; 256 void distributeToServer(CContextClient* client, std::map<int, CArray<size_t,1>>& globalIndex, const string& axisId="") ; 266 void distributeToServer(CContextClient* client, std::map<int, CArray<size_t,1>>& globalIndex, CScattererConnector* &scattererConnector, 267 const string& axisId="") ; 257 268 258 269 static void recvAxisDistribution(CEventServer& event) ;
Note: See TracChangeset
for help on using the changeset viewer.