- Timestamp:
- 01/10/18 16:17:57 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/XIOS_DEV_CMIP6/src/transformation/generic_algorithm_transformation.hpp
r1389 r1399 52 52 virtual ~CGenericAlgorithmTransformation() {} 53 53 54 bool isDistributedTransformation(int elementPositionInGrid, CGrid* gridSrc, CGrid* gridDst) ; 55 54 56 void computeGlobalSourceIndex(int elementPositionInGrid, 55 57 CGrid* gridSrc, … … 85 87 */ 86 88 void computeIndexSourceMapping(const std::vector<CArray<double,1>* >& dataAuxInputs = std::vector<CArray<double,1>* >()); 89 void computeTransformationMappingNonDistributed(int elementPositionInGrid, CGrid* gridSrc, CGrid* gridDst, 90 vector<int>& localSrc, vector<int>& localDst, vector<double>& weight, vector<bool>& localMaskOnGridDest); 91 void nonDistributedrecursiveFunct(int currentPos, int elementPositionInGrid, int& srcInd, vector<int>& nIndexSrc, int& t, vector<vector<vector<pair<int,double> > > >& dstIndWeight, int currentInd, 92 vector<int>& localSrc, vector<int>& localDst, vector<double>& weight, CArray<bool,1>& localMaskOnGridSrc, vector<bool>& localMaskOnGridDest) ; 87 93 88 94 protected: … … 126 132 127 133 protected: 134 //! indicate if the transformation is performed on a distributed element 135 bool isDistributed_ ; 136 //! indicate if the method isDistributedTransformation has been called before 137 bool isDistributedComputed_ ; 138 128 139 //! Map between global index of destination element and source element 129 140 std::vector<TransformationIndexMap> transformationMapping_; … … 144 155 std::vector<int> procContainSrcElementIdx_; // List of processes containing source index of transformed elements 145 156 // std::set<int> procOfNonTransformedElements_; // Processes contain the source index of non-transformed elements 157 std::set<int> commonProc_; 146 158 std::vector< set<int> > procElementList_ ; // List of processes containing source index of elements 147 159
Note: See TracChangeset
for help on using the changeset viewer.