Index: /issm/trunk/src/c/objects/Elements/Penta.cpp
===================================================================
--- /issm/trunk/src/c/objects/Elements/Penta.cpp	(revision 5929)
+++ /issm/trunk/src/c/objects/Elements/Penta.cpp	(revision 5930)
@@ -3478,5 +3478,5 @@
 	if(IsOnWater()) return NULL;
 	inputs->GetParameterValue(&approximation,ApproximationEnum);
-	if(approximation!=StokesApproximationEnum) return NULL;
+	if(approximation!=StokesApproximationEnum && approximation!=PattynStokesApproximationEnum) return NULL;
 	ElementVector* pe=NewElementVector(nodes,NUMVERTICES,this->parameters,StokesApproximationEnum);
 
@@ -3578,5 +3578,5 @@
 	if(IsOnWater() || !IsOnBed() || !IsOnShelf()) return NULL;
 	inputs->GetParameterValue(&approximation,ApproximationEnum);
-	if(approximation!=StokesApproximationEnum) return NULL;
+	if(approximation!=StokesApproximationEnum && approximation!=PattynStokesApproximationEnum) return NULL;
 	ElementVector* pe=NewElementVector(nodes,NUMVERTICES,this->parameters,StokesApproximationEnum);
 
