Index: /issm/trunk/src/c/objects/Loads/Pengrid.cpp
===================================================================
--- /issm/trunk/src/c/objects/Loads/Pengrid.cpp	(revision 5724)
+++ /issm/trunk/src/c/objects/Loads/Pengrid.cpp	(revision 5725)
@@ -580,7 +580,4 @@
 	Penta* penta=NULL;
 
-	/*Get dof list: */
-	GetDofList(&doflist);
-
 	/*recover pointers: */
 	node=(Node*)hnode->delivers();
@@ -590,4 +587,7 @@
 	penta->inputs->GetParameterValue(&approximation,ApproximationEnum);
 	if(approximation!=StokesApproximationEnum) return;
+
+	/*Get dof list: */
+	GetDofList(&doflist);
 
 	//recover slope: */
