Changeset 12495 for issm/trunk-jpl/src/c/objects/Elements/Penta.cpp
- Timestamp:
- 06/21/12 10:14:12 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/objects/Elements/Penta.cpp
r12494 r12495 1133 1133 /*Make a copy of the original input: */ 1134 1134 input=(Input*)this->inputs->GetInput(enum_type); 1135 if(!input)_error2_(" 1135 if(!input)_error2_("could not find old input with enum: " << EnumToStringx(enum_type)); 1136 1136 1137 1137 /*ArtificialNoise: */ … … 1153 1153 new_inputs[i]=(Input*)this->inputs->GetInput(enums[2*i+0]); 1154 1154 old_inputs[i]=(Input*)this->inputs->GetInput(enums[2*i+1]); 1155 if(!new_inputs[i])_error2_(" 1156 if(!old_inputs[i])_error2_(" 1155 if(!new_inputs[i])_error2_("could not find input with enum " << EnumToStringx(enums[2*i+0])); 1156 if(!old_inputs[i])_error2_("could not find input with enum " << EnumToStringx(enums[2*i+0])); 1157 1157 } 1158 1158 … … 1186 1186 this->inputs->AddInput(new DoubleInput(name,(IssmDouble)scalar)); 1187 1187 } 1188 else _error2_(" 1188 else _error2_("could not recognize nature of vector from code " << code); 1189 1189 1190 1190 } … … 1268 1268 this->inputs->AddInput(new DoubleInput(vector_enum,(IssmDouble)vector[index])); 1269 1269 } 1270 else _error2_(" 1270 else _error2_("could not recognize nature of vector from code " << code); 1271 1271 } 1272 1272 else { … … 1464 1464 /*Make a copy of the original input: */ 1465 1465 input=(Input*)this->inputs->GetInput(enum_type); 1466 if(!input)_error2_(" 1466 if(!input)_error2_("could not find old input with enum: " << EnumToStringx(enum_type)); 1467 1467 1468 1468 /*Scale: */ … … 1894 1894 /*FUNCTION Penta::InputUpdateFromVector(int* vector, int name, int type);{{{*/ 1895 1895 void Penta::InputUpdateFromVector(int* vector, int name, int type){ 1896 _error2_(" 1896 _error2_("not supported yet!"); 1897 1897 } 1898 1898 /*}}}*/ 1899 1899 /*FUNCTION Penta::InputUpdateFromVector(bool* vector, int name, int type);{{{*/ 1900 1900 void Penta::InputUpdateFromVector(bool* vector, int name, int type){ 1901 _error2_(" 1901 _error2_("not supported yet!"); 1902 1902 } 1903 1903 /*}}}*/ … … 5622 5622 /*FUNCTION Penta::InputUpdateFromVectorDakota(int* vector, int name, int type);{{{*/ 5623 5623 void Penta::InputUpdateFromVectorDakota(int* vector, int name, int type){ 5624 _error2_(" 5624 _error2_("not supported yet!"); 5625 5625 } 5626 5626 /*}}}*/ 5627 5627 /*FUNCTION Penta::InputUpdateFromVectorDakota(bool* vector, int name, int type);{{{*/ 5628 5628 void Penta::InputUpdateFromVectorDakota(bool* vector, int name, int type){ 5629 _error2_(" 5629 _error2_("not supported yet!"); 5630 5630 } 5631 5631 /*}}}*/
Note:
See TracChangeset
for help on using the changeset viewer.