Changeset 8224 for issm/trunk/src/c/objects/Inputs/DoubleInput.cpp
- Timestamp:
- 05/10/11 09:30:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Inputs/DoubleInput.cpp
r8129 r8224 46 46 47 47 printf("DoubleInput:\n"); 48 printf(" enum: %i (%s)\n",this->enum_type,EnumToString (this->enum_type));48 printf(" enum: %i (%s)\n",this->enum_type,EnumToStringx(this->enum_type)); 49 49 printf(" value: %g\n",this->value); 50 50 } … … 160 160 *pvalue=(bool)value; 161 161 #else 162 _error_("Double input of enum %s cannot return a boolean",EnumToString (enum_type));162 _error_("Double input of enum %s cannot return a boolean",EnumToStringx(enum_type)); 163 163 #endif 164 164 … … 170 170 *pvalue=(int)value; 171 171 #else 172 _error_("Double input of enum %i (%s) cannot return an integer",enum_type,EnumToString (enum_type));172 _error_("Double input of enum %i (%s) cannot return an integer",enum_type,EnumToStringx(enum_type)); 173 173 #endif 174 174 … … 291 291 292 292 /*Check that input provided is a thickness*/ 293 if (thickness_input->EnumType()!=ThicknessEnum) _error_("Input provided is not a Thickness (enum_type is %s)",EnumToString (thickness_input->EnumType()));293 if (thickness_input->EnumType()!=ThicknessEnum) _error_("Input provided is not a Thickness (enum_type is %s)",EnumToStringx(thickness_input->EnumType())); 294 294 295 295 /*vertically integrate depending on type:*/
Note:
See TracChangeset
for help on using the changeset viewer.