Index: /issm/trunk-jpl/src/c/classes/Elements/Element.cpp
===================================================================
--- /issm/trunk-jpl/src/c/classes/Elements/Element.cpp	(revision 21205)
+++ /issm/trunk-jpl/src/c/classes/Elements/Element.cpp	(revision 21206)
@@ -1383,6 +1383,8 @@
 void       Element::InputDuplicate(int original_enum,int new_enum){/*{{{*/
 
+	if(!IsInput(original_enum)) _error_("Enum "<<EnumToStringx(original_enum)<<" is not in IsInput");
+
 	/*Call inputs method*/
-	if(IsInput(original_enum)) inputs->DuplicateInput(original_enum,new_enum);
+	this->inputs->DuplicateInput(original_enum,new_enum);
 
 }
@@ -1391,5 +1393,5 @@
 
 	/*Check that name is an element input*/
-	if(!IsInput(name)) return;
+	if(!IsInput(name)) _error_("Enum "<<EnumToStringx(name)<<" is not in IsInput");
 
 	/*update input*/
@@ -1400,5 +1402,5 @@
 
 	/*Check that name is an element input*/
-	if(!IsInput(name)) return;
+	if(!IsInput(name)) _error_("Enum "<<EnumToStringx(name)<<" is not in IsInput");
 
 	/*update input*/
Index: /issm/trunk-jpl/src/c/classes/Elements/Penta.cpp
===================================================================
--- /issm/trunk-jpl/src/c/classes/Elements/Penta.cpp	(revision 21205)
+++ /issm/trunk-jpl/src/c/classes/Elements/Penta.cpp	(revision 21206)
@@ -1080,5 +1080,5 @@
 
 	/*Get out if this is not an element input*/
-	if(!IsInput(control_enum)) return;
+	if(!IsInput(control_enum)) _error_("Enum "<<EnumToStringx(control_enum)<<" is not in IsInput");
 
 	/*Prepare index list*/
@@ -1591,5 +1591,5 @@
 
 	/*Check that name is an element input*/
-	if (!IsInput(name)) return;
+	if(!IsInput(name)) _error_("Enum "<<EnumToStringx(name)<<" is not in IsInput");
 
 	switch(type){
@@ -3410,5 +3410,5 @@
 
 	/*Check that name is an element input*/
-	if (!IsInput(name)) return;
+	if(!IsInput(name)) _error_("Enum "<<EnumToStringx(name)<<" is not in IsInput");
 
 	switch(type){
@@ -3445,5 +3445,5 @@
 
 	/*Check that name is an element input*/
-	if (!IsInput(name)) return;
+	if(!IsInput(name)) _error_("Enum "<<EnumToStringx(name)<<" is not in IsInput");
 
 	switch(type){
Index: /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
===================================================================
--- /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp	(revision 21205)
+++ /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp	(revision 21206)
@@ -1438,5 +1438,5 @@
 
 	/*Get out if this is not an element input*/
-	if(!IsInput(control_enum)) return;
+	if(!IsInput(control_enum)) _error_("Enum "<<EnumToStringx(control_enum)<<" is not in IsInput");
 
 	/*Prepare index list*/
@@ -1882,5 +1882,5 @@
 
 	/*Check that name is an element input*/
-	if (!IsInput(name)) return;
+	if(!IsInput(name)) _error_("Enum "<<EnumToStringx(name)<<" is not in IsInput");
 
 	int         numnodes;
@@ -4087,5 +4087,5 @@
 
 	/*Check that name is an element input*/
-	if (!IsInput(name)) return;
+	if(!IsInput(name)) _error_("Enum "<<EnumToStringx(name)<<" is not in IsInput");
 
 	switch(type){
@@ -4122,5 +4122,5 @@
 
 	/*Check that name is an element input*/
-	if (!IsInput(name)) return;
+	if(!IsInput(name)) _error_("Enum "<<EnumToStringx(name)<<" is not in IsInput");
 
 	switch(type){
