Index: /issm/trunk/src/c/objects/Elements/Penta.cpp
===================================================================
--- /issm/trunk/src/c/objects/Elements/Penta.cpp	(revision 4383)
+++ /issm/trunk/src/c/objects/Elements/Penta.cpp	(revision 4384)
@@ -2073,15 +2073,11 @@
 		pressure[i]=rho_ice*g*(surface[i]-xyz_list[i][2]);
 	}
-	/*Now, we have to move the previous Vx and Vy inputs  to old 
+	/*Now, we have to move the previous Vz inputs to old 
 	 * status, otherwise, we'll wipe them off: */
-	this->inputs->ChangeEnum(VxEnum,VxOldEnum);
-	this->inputs->ChangeEnum(VyEnum,VyOldEnum);
-	this->inputs->ChangeEnum(PressureEnum,PressureOldEnum);
-
-	/*Add vx and vy as inputs to the tria element: */
-	this->inputs->AddInput(new PentaVertexInput(VxEnum,vx));
-	this->inputs->AddInput(new PentaVertexInput(VyEnum,vy));
-	this->inputs->AddInput(new TriaVertexInput(VelEnum,vel));
-	this->inputs->AddInput(new PentaVertexInput(PressureEnum,pressure));
+	this->inputs->ChangeEnum(VzEnum,VzOldEnum);
+
+	/*Add vz and vel as inputs to the penta element: */
+	this->inputs->AddInput(new PentaVertexInput(VzEnum,vz));
+	this->inputs->AddInput(new PentaVertexInput(VelEnum,vel));
 }
 
