Index: /issm/trunk/src/m/classes/@icefront/CreatePVector.m
===================================================================
--- /issm/trunk/src/m/classes/@icefront/CreatePVector.m	(revision 399)
+++ /issm/trunk/src/m/classes/@icefront/CreatePVector.m	(revision 400)
@@ -273,5 +273,5 @@
 	complete_list=zeros(3,3); %a third coordinate is needed for the jacobian determinant calculation, here it is zero
 	complete_list(1:3,1:2)=xyz_tria(3*i-2:3*i,:);
-	J(i)=GetJacobianDeterminant3d(tria,complete_list,l1l2l3_tria);
+	J(i)=GetJacobianDeterminant2d(tria,complete_list,l1l2l3_tria);
 	 end
 
@@ -295,5 +295,5 @@
 		water_pressure_tria=0;
 	else
-		error('QuadPressureLoad error message: unknow fill type for icefront boundary condition');
+		error('QuadPressureLoadStokes error message: unknow fill type for icefront boundary condition');
 	end
 
@@ -710,5 +710,5 @@
 		complete_list=zeros(3,3); %a third coordinate is needed for the jacobian determinant calculation, here it is zero
 		complete_list(1:3,1:2)=xyz_tria(3*i-2:3*i,:);
-		J(i)=GetJacobianDeterminant3d(tria,complete_list,l1l2l3_tria);
+		J(i)=GetJacobianDeterminant2d(tria,complete_list,l1l2l3_tria);
 		 end
 
