Changeset 1646 for XIOS/dev/dev_trunk_omp/src/distribution_client.hpp
- Timestamp:
- 01/31/19 12:12:52 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_omp/src/distribution_client.hpp
r1562 r1646 33 33 34 34 public: 35 /** Default constructor */ 35 /** Default constructor */ 36 36 CDistributionClient(int rank, CGrid* grid); 37 37 … … 44 44 GlobalLocalDataMap& getGlobalLocalDataSendToServer(); 45 45 GlobalLocalDataMap& getGlobalDataIndexOnClient(); 46 const std::vector< int>& getLocalMaskIndexOnClient();46 const std::vector<bool>& getLocalMaskIndexOnClient(); 47 47 const std::vector<int>& getLocalMaskedDataIndexOnClient(); 48 48 … … 83 83 GlobalLocalDataMap globalLocalDataSendToServerMap_; 84 84 GlobalLocalDataMap globalDataIndex_; 85 86 /*! Array holding masked data indexes. 87 * It includes: 88 * masking on data (data_i/j_index or data_ni/nj and data_ibegin) 89 * masking on grid elements (domains, axes or scalars) 90 * It DOES NOT include grid mask. 91 * The array size defines the data size entering the workflow. It is used by source filter of client or server1. 92 */ 85 93 std::vector<int> localDataIndex_; 86 std::vector<int> localMaskIndex_; 94 95 /*! Array holding grid mask. If grid mask is not defined, its size is zero. 96 * It is used by source filter of client for replacing unmasked data by NaN. 97 */ 98 std::vector<bool> localMaskIndex_; 99 87 100 std::vector<int> localMaskedDataIndex_; 88 101 … … 104 117 std::vector<CArray<int,1> > dataIndex_; //!< Data index 105 118 std::vector<CArray<int,1> > infoIndex_; //!< i_index, j_index 106 107 std::vector<CArray<bool,1> > domainMasks_; //!< Domain mask108 std::vector<CArray<bool,1> > axisMasks_; //!< Axis mask109 119 110 120 std::vector<int> indexMap_; //!< Mapping element index to dimension index
Note: See TracChangeset
for help on using the changeset viewer.