Changeset 2138
- Timestamp:
- 05/30/21 23:32:15 (22 months ago)
- Location:
- XIOS/dev/dev_trunk_graph/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_graph/src/node/context.cpp
r2137 r2138 630 630 { 631 631 bool finished; 632 if (isLockedContext()) return ;632 if (isLockedContext()) return false; 633 633 634 634 setCurrent(getId()) ; -
XIOS/dev/dev_trunk_graph/src/transformation/axis_algorithm/axis_algorithm_reduce_axis.cpp
r2019 r2138 52 52 eliminateRedondantSrc_= false ; 53 53 algo->checkValid(axisDestination, axisSource); 54 axisDestination->checkAttributes() ; 54 55 55 56 switch (algo->operation) … … 72 73 << "Axis source " <<axisSource->getId() << std::endl 73 74 << "Axis destination " << axisDestination->getId()); 75 } 74 76 75 76 77 78 79 80 81 82 83 77 TransformationIndexMap& transMap = this->transformationMapping_; 78 CArray<int,1>& axisDstIndex = axisDestination->index; 79 int nbAxisIdx = axisDstIndex.numElements(); 80 for (int idxAxis = 0; idxAxis < nbAxisIdx; ++idxAxis) 81 { 82 int globalAxisIdx = axisDstIndex(idxAxis); 83 transMap[globalAxisIdx].resize(1); 84 transMap[globalAxisIdx][0]=globalAxisIdx ; 85 } 84 86 85 }86 87 87 88 axisDestination->checkAttributes() ;
Note: See TracChangeset
for help on using the changeset viewer.