Changeset 1642 for XIOS/dev/branch_openmp/src/distribution_client.hpp
- Timestamp:
- 01/23/19 10:31:44 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/src/distribution_client.hpp
r1460 r1642 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 … … 97 110 std::vector<int> nBeginLocal_;//!< Begin index of each dimension (e.x: for domain, it's always 0, for axis, it's zoom_begin, ...) 98 111 std::vector<int> nBeginGlobal_; //!< Begin index of each dimension (e.x: ibegin, jbegin, ...) 99 std::vector<int> nZoomBegin_; //!< Begin index of zoom of each dimension100 std::vector<int> nZoomEnd_; //!< End index of zoom of each dimension101 112 102 113 // Data_n_index of domain or axis (For now, axis uses its size as data_n_index … … 107 118 std::vector<CArray<int,1> > infoIndex_; //!< i_index, j_index 108 119 109 std::vector<CArray<bool,1> > domainMasks_; //!< Domain mask110 std::vector<CArray<bool,1> > axisMasks_; //!< Axis mask111 112 120 std::vector<int> indexMap_; //!< Mapping element index to dimension index 113 121 std::vector<CArray<int,1> > elementLocalIndex_; //!< Local index of each element 114 122 std::vector<CArray<size_t,1> > elementGlobalIndex_; //!< Global index of each element 115 123 std::vector<CArray<bool,1> > elementIndexData_; //!< // The correct index of a domain has true value, the ghost one has false value 116 std::vector<CArray<bool,1> > elementZoomMask_; //!< Only zoomed region are true117 124 std::vector<size_t> elementNLocal_; 118 125 std::vector<size_t> elementNGlobal_;
Note: See TracChangeset
for help on using the changeset viewer.