Changeset 1984 for XIOS/dev/dev_ym/XIOS_COUPLING/src/node/grid.hpp
- Timestamp:
- 12/06/20 22:14:56 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/node/grid.hpp
r1974 r1984 20 20 #include "grid_scatterer_connector.hpp" 21 21 #include "grid_gatherer_connector.hpp" 22 #include "transformation_path.hpp" 23 #include "filter.hpp" 22 24 23 25 … … 210 212 bool doGridHaveDataDistributed(CContextClient* client = 0); 211 213 214 /////////////////////////////////////////// 215 //////// TRANSFORMATIONS ///// 216 /////////////////////////////////////////// 217 public: 212 218 CGridTransformation* getTransformations(); 213 219 … … 221 227 222 228 std::vector<std::string> getAuxInputTransformGrid(void) ; 223 229 std::map<CGrid*, std::pair<bool,StdString> >& getTransGridSource(); 230 bool hasTransform(); 231 void addTransGridSource(CGrid* gridSrc); 224 232 void completeGrid(CGrid* transformGridSrc = 0); 225 233 bool isTransformed(); … … 227 235 bool isGenerated(); 228 236 void setGenerated(); 229 void addTransGridSource(CGrid* gridSrc); 230 std::map<CGrid*, std::pair<bool,StdString> >& getTransGridSource(); 231 bool hasTransform(); 232 size_t getGlobalWrittenSize(void) ; 237 void setTransformationAlgorithms(); 238 pair<shared_ptr<CFilter>, shared_ptr<CFilter> > buildTransformationGraph(CGarbageCollector& gc, CGrid* gridSrc, double detectMissingValues, 239 double defaultValue, CGrid*& newGrid) ; 240 private: 241 bool isTransformed_, isGenerated_; 242 CGridTransformation* transformations_; 243 bool hasTransform_; 244 245 /////////////////////////////////////////// 246 public: 247 248 size_t getGlobalWrittenSize(void) ; 233 249 234 250 bool isCompleted(void) ; … … 265 281 CScalarGroup* getVirtualScalarGroup() const; 266 282 267 void setTransformationAlgorithms();268 283 int computeGridGlobalDimension(std::vector<int>& globalDim, 269 284 const std::vector<CDomain*> domains, … … 310 325 std::set<std::string> relFilesCompressed; 311 326 312 bool isTransformed_, isGenerated_;313 327 314 328 std::vector<int> axisPositionInGrid_; … … 317 331 std::vector<int>& getAxisPositionInGrid(void) { if (!computeAxisPositionInGrid_done_) computeAxisPositionInGrid() ; return axisPositionInGrid_ ;} 318 332 319 CGridTransformation* transformations_;320 333 bool hasDomainAxisBaseRef_; 321 334 std::map<CGrid*, std::pair<bool,StdString> > gridSrc_; 322 bool hasTransform_;323 335 324 336 ////////////////////////////////////////////////////////////////////////////////////// 325 337 // this part is related to distribution, element definition, views and connectors // 326 338 ////////////////////////////////////////////////////////////////////////////////////// 339 public: 340 CGrid* duplicateSentGrid(void) ; 327 341 private: 328 342 static void recvMask(CEventServer& event) ; … … 336 350 337 351 private: 338 CGridLocalConnector* modelToWorkflowConnector_ ;352 CGridLocalConnector* modelToWorkflowConnector_ = nullptr ; 339 353 public: 340 354 void computeModelToWorkflowConnector(void) ;
Note: See TracChangeset
for help on using the changeset viewer.