Index: /issm/trunk-jpl/src/c/classes/Elements/Penta.cpp
===================================================================
--- /issm/trunk-jpl/src/c/classes/Elements/Penta.cpp	(revision 26878)
+++ /issm/trunk-jpl/src/c/classes/Elements/Penta.cpp	(revision 26879)
@@ -2885,5 +2885,4 @@
 	/* Get node coordinates and dof list: */
 	::GetVerticesCoordinates(&xyz_list[0][0],vertices,NUMVERTICES);
-
 	Input* calvingratex_input = NULL;
 	Input* calvingratey_input = NULL;
@@ -2894,6 +2893,6 @@
 	Input *lsf_slopex_input = this->GetInput(LevelsetfunctionSlopeXEnum); _assert_(lsf_slopex_input);
 	Input *lsf_slopey_input = this->GetInput(LevelsetfunctionSlopeYEnum); _assert_(lsf_slopey_input);
-	Input *vx_input         = this->GetInput(VxEnum);                     _assert_(vx_input);
-	Input *vy_input         = this->GetInput(VyEnum);                     _assert_(vy_input);
+	Input *vx_input         = this->GetInput(VxAverageEnum);              _assert_(vx_input);
+	Input *vy_input         = this->GetInput(VyAverageEnum);              _assert_(vy_input);
 	Input *gr_input         = this->GetInput(MaskOceanLevelsetEnum);      _assert_(gr_input);
 
