Changeset 977
- Timestamp:
- 10/18/16 11:09:00 (8 years ago)
- Location:
- XIOS/trunk/src/transformation
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/transformation/axis_algorithm_extract_domain.cpp
r933 r977 14 14 #include "grid_transformation_factory_impl.hpp" 15 15 16 #include " sum.hpp"16 #include "reduction.hpp" 17 17 18 18 namespace xios { -
XIOS/trunk/src/transformation/axis_algorithm_reduce_domain.cpp
r938 r977 14 14 #include "grid_transformation_factory_impl.hpp" 15 15 16 #include " sum.hpp"16 #include "reduction.hpp" 17 17 18 18 namespace xios { -
XIOS/trunk/src/transformation/generic_algorithm_transformation.cpp
r933 r977 180 180 // Find out global index source of transformed element on corresponding process. 181 181 std::vector<boost::unordered_map<int,std::vector<size_t> > > globalElementIndexOnProc(axisDomainDstOrder.numElements()); 182 CClientClientDHTInt::Index2VectorInfoTypeMap globalIndexOfTransformedElementOnProc; 183 int axisIndex = 0, domainIndex = 0; 182 CClientClientDHTInt::Index2VectorInfoTypeMap globalIndexOfTransformedElementOnProc; 184 183 for (int idx = 0; idx < axisDomainDstOrder.numElements(); ++idx) 185 184 { … … 192 191 domainListSrcP[elementPositionInGridSrc2DomainPosition_[idx]], 193 192 transPos, 194 globalElementIndexOnProc[idx]); 195 ++domainIndex; 193 globalElementIndexOnProc[idx]); 196 194 197 195 } … … 203 201 transPos, 204 202 globalElementIndexOnProc[idx]); 205 ++axisIndex;206 207 203 } 208 204 else //it's a scalar -
XIOS/trunk/src/transformation/scalar_algorithm_extract_axis.cpp
r960 r977 11 11 #include "scalar.hpp" 12 12 #include "extract_axis_to_scalar.hpp" 13 #include "sum.hpp"14 13 #include "grid.hpp" 15 14 #include "grid_transformation_factory_impl.hpp" 15 16 #include "reduction.hpp" 16 17 17 18 namespace xios { -
XIOS/trunk/src/transformation/scalar_algorithm_reduce_axis.cpp
r933 r977 11 11 #include "scalar.hpp" 12 12 #include "reduce_axis_to_scalar.hpp" 13 #include "sum.hpp"14 13 #include "grid.hpp" 15 14 #include "grid_transformation_factory_impl.hpp" 15 16 #include "reduction.hpp" 16 17 17 18 namespace xios {
Note: See TracChangeset
for help on using the changeset viewer.