Changeset 937 for XIOS/trunk/src/node/interpolate_axis.cpp
- Timestamp:
- 09/22/16 10:59:04 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/interpolate_axis.cpp
r836 r937 40 40 void CInterpolateAxis::checkValid(CAxis* axisSrc) 41 41 { 42 if (this->order.isEmpty()) this->order.setValue( 2);42 if (this->order.isEmpty()) this->order.setValue(1); 43 43 int order = this->order.getValue(); 44 44 if (order >= axisSrc->n_glo.getValue()) … … 46 46 ERROR("CInterpolateAxis::checkValid(CAxis* axisSrc)", 47 47 << "Order of interpolation is greater than global size of axis source" 48 << "Size of axis source " <<axisSrc->getId() << " is " << axisSrc->n_glo.getValue() << std::endl 49 << "Order of interpolation is " << order ); 50 } 51 52 if (order < 1) 53 { 54 ERROR("CInterpolateAxis::checkValid(CAxis* axisSrc)", 55 << "Order of interpolation is smaller than 1" 48 56 << "Size of axis source " <<axisSrc->getId() << " is " << axisSrc->n_glo.getValue() << std::endl 49 57 << "Order of interpolation is " << order );
Note: See TracChangeset
for help on using the changeset viewer.