- Timestamp:
- 08/24/15 14:53:27 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/transformation/axis_algorithm_interpolate.cpp
r630 r666 20 20 interpAxis->checkValid(axisSource); 21 21 order_ = interpAxis->order.getValue(); 22 if (order_ >= axisSource-> size.getValue())22 if (order_ >= axisSource->n_glo.getValue()) 23 23 { 24 24 ERROR("CAxisAlgorithmInterpolate::CAxisAlgorithmInterpolate(CAxis* axisDestination, CAxis* axisSource, CInterpolateAxis* interpAxis)", 25 << "Order of interpolation is greater than size of axis source"26 << "Size of axis source " <<axisSource->getId() << " is " << axisSource-> size.getValue() << std::endl25 << "Order of interpolation is greater than global size of axis source" 26 << "Size of axis source " <<axisSource->getId() << " is " << axisSource->n_glo.getValue() << std::endl 27 27 << "Order of interpolation is " << order_ ); 28 28 } … … 43 43 int nbClient = client->clientSize; 44 44 45 int srcSize = axisSrc_-> size.getValue();45 int srcSize = axisSrc_->n_glo.getValue(); 46 46 int numValue = axisValue.numElements(); 47 47 … … 67 67 const double sfmax = NumTraits<double>::sfmax(); 68 68 69 int ibegin = axisDest_-> ibegin.getValue();69 int ibegin = axisDest_->begin.getValue(); 70 70 CArray<double,1>& axisDestValue = axisDest_->value; 71 71 int numValue = axisDestValue.numElements(); … … 131 131 std::map<int, std::vector<std::pair<int,double> > >::const_iterator itb = interpolatingIndexValues.begin(), it, 132 132 ite = interpolatingIndexValues.end(); 133 int ibegin = axisDest_-> ibegin.getValue();133 int ibegin = axisDest_->begin.getValue(); 134 134 for (it = itb; it != ite; ++it) 135 135 { … … 169 169 int nbClient = client->clientSize; 170 170 171 int srcSize = axisSrc_-> size.getValue();171 int srcSize = axisSrc_->n_glo.getValue(); 172 172 int numValue = axisValue.numElements(); 173 173 … … 191 191 int* recvIndexBuff = new int [srcSize]; 192 192 193 int ibegin = axisSrc_-> ibegin.getValue();193 int ibegin = axisSrc_->begin.getValue(); 194 194 for (int idx = 0; idx < numValue; ++idx) 195 195 {
Note: See TracChangeset
for help on using the changeset viewer.