Changeset 21206
- Timestamp:
- 09/15/16 21:08:55 (9 years ago)
- Location:
- issm/trunk-jpl/src/c/classes/Elements
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Element.cpp
r21112 r21206 1383 1383 void Element::InputDuplicate(int original_enum,int new_enum){/*{{{*/ 1384 1384 1385 if(!IsInput(original_enum)) _error_("Enum "<<EnumToStringx(original_enum)<<" is not in IsInput"); 1386 1385 1387 /*Call inputs method*/ 1386 if(IsInput(original_enum))inputs->DuplicateInput(original_enum,new_enum);1388 this->inputs->DuplicateInput(original_enum,new_enum); 1387 1389 1388 1390 } … … 1391 1393 1392 1394 /*Check that name is an element input*/ 1393 if(!IsInput(name)) return;1395 if(!IsInput(name)) _error_("Enum "<<EnumToStringx(name)<<" is not in IsInput"); 1394 1396 1395 1397 /*update input*/ … … 1400 1402 1401 1403 /*Check that name is an element input*/ 1402 if(!IsInput(name)) return;1404 if(!IsInput(name)) _error_("Enum "<<EnumToStringx(name)<<" is not in IsInput"); 1403 1405 1404 1406 /*update input*/ -
issm/trunk-jpl/src/c/classes/Elements/Penta.cpp
r21068 r21206 1080 1080 1081 1081 /*Get out if this is not an element input*/ 1082 if(!IsInput(control_enum)) return;1082 if(!IsInput(control_enum)) _error_("Enum "<<EnumToStringx(control_enum)<<" is not in IsInput"); 1083 1083 1084 1084 /*Prepare index list*/ … … 1591 1591 1592 1592 /*Check that name is an element input*/ 1593 if (!IsInput(name)) return;1593 if(!IsInput(name)) _error_("Enum "<<EnumToStringx(name)<<" is not in IsInput"); 1594 1594 1595 1595 switch(type){ … … 3410 3410 3411 3411 /*Check that name is an element input*/ 3412 if (!IsInput(name)) return;3412 if(!IsInput(name)) _error_("Enum "<<EnumToStringx(name)<<" is not in IsInput"); 3413 3413 3414 3414 switch(type){ … … 3445 3445 3446 3446 /*Check that name is an element input*/ 3447 if (!IsInput(name)) return;3447 if(!IsInput(name)) _error_("Enum "<<EnumToStringx(name)<<" is not in IsInput"); 3448 3448 3449 3449 switch(type){ -
issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
r21079 r21206 1438 1438 1439 1439 /*Get out if this is not an element input*/ 1440 if(!IsInput(control_enum)) return;1440 if(!IsInput(control_enum)) _error_("Enum "<<EnumToStringx(control_enum)<<" is not in IsInput"); 1441 1441 1442 1442 /*Prepare index list*/ … … 1882 1882 1883 1883 /*Check that name is an element input*/ 1884 if (!IsInput(name)) return;1884 if(!IsInput(name)) _error_("Enum "<<EnumToStringx(name)<<" is not in IsInput"); 1885 1885 1886 1886 int numnodes; … … 4087 4087 4088 4088 /*Check that name is an element input*/ 4089 if (!IsInput(name)) return;4089 if(!IsInput(name)) _error_("Enum "<<EnumToStringx(name)<<" is not in IsInput"); 4090 4090 4091 4091 switch(type){ … … 4122 4122 4123 4123 /*Check that name is an element input*/ 4124 if (!IsInput(name)) return;4124 if(!IsInput(name)) _error_("Enum "<<EnumToStringx(name)<<" is not in IsInput"); 4125 4125 4126 4126 switch(type){
Note:
See TracChangeset
for help on using the changeset viewer.