Changeset 980 for XIOS/trunk/src/node/reduce_axis_to_scalar.cpp
- Timestamp:
- 10/24/16 16:16:40 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/reduce_axis_to_scalar.cpp
r891 r980 39 39 void CReduceAxisToScalar::checkValid(CScalar* scalarDst) 40 40 { 41 // int axisIBegin, axisNi, axisGlobalSize;42 // int begin, end, n;43 //44 // axisIBegin = axisDest->begin.getValue();45 // axisNi = axisDest->n.getValue();46 // axisGlobalSize = axisDest->n_glo.getValue();47 //48 // begin = (this->begin.isEmpty()) ? 0 : this->begin.getValue();49 // n = (this->n.isEmpty()) ? axisGlobalSize : this->n.getValue();50 // end = begin+n-1;51 //52 // if (begin < 0 || begin > axisGlobalSize - 1 || end < 0 || end > axisGlobalSize - 153 // || n < 1 || n > axisGlobalSize || begin > end)54 // ERROR("CReduceAxisToScalar::checkValid(CAxis* axisDest)",55 // << "One or more attributes among 'begin' (" << begin << "), 'end' (" << end << "), 'n' (" << n << ") "56 // << "of axis transformation [ id = '" << axisDest->getId() << "' , context = '" << CObjectFactory::GetCurrentContextId() << "' ] are not well specified");57 //58 // this->begin.setValue(begin);59 // this->n.setValue(n);60 61 41 } 62 42
Note: See TracChangeset
for help on using the changeset viewer.