Changeset 680 for XIOS/trunk/src/node/zoom_domain.cpp
- Timestamp:
- 09/01/15 17:15:42 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/zoom_domain.cpp
r631 r680 35 35 this->zoom_ibegin.isEmpty() || this->zoom_jbegin.isEmpty()) 36 36 { 37 ERROR("CZoomDomain::checkValid(void)",38 <<"if one of zoom attributes is defined then all zoom attributes must be defined") ;37 ERROR("CZoomDomain::checkValid(CDomain* domainSrc)", 38 << "If one of zoom attributes is defined then all zoom attributes must be defined.") ; 39 39 } 40 40 else … … 43 43 int zoom_jend = zoom_jbegin + zoom_nj - 1; 44 44 45 if (zoom_ibegin < 0 || zoom_jbegin < 0 || zoom_iend > (ni_glo-1) || zoom_jend > (nj_glo-1)) 46 ERROR("CZoomDomain::checkValid(void)", 47 << "Zoom is wrongly defined," 48 << " Check the values : zoom_ni, zoom_nj, zoom_ibegin, zoom_jbegin") ; 45 if (zoom_ibegin < 0 || zoom_jbegin < 0 || zoom_iend > ni_glo - 1 || zoom_jend > nj_glo - 1) 46 ERROR("CZoomDomain::checkValid(CDomain* domainSrc)", 47 << "Zoom is wrongly defined, " 48 << "please check the values : 'zoom_ni' (" << zoom_ni.getValue() << "), 'zoom_nj' (" << zoom_nj.getValue() << "), " 49 << "'zoom_ibegin' (" << zoom_ibegin.getValue() << "), 'zoom_jbegin' (" << zoom_jbegin.getValue() << ")"); 49 50 } 50 51 }
Note: See TracChangeset
for help on using the changeset viewer.