Index: /issm/trunk/src/m/utils/Interp/PatchToVec.m
===================================================================
--- /issm/trunk/src/m/utils/Interp/PatchToVec.m	(revision 7087)
+++ /issm/trunk/src/m/utils/Interp/PatchToVec.m	(revision 7088)
@@ -5,4 +5,8 @@
 %      vec=PatchToVec(Patch)
 
+%if the patch is P0, we need to transform the vector a little bit first
+if size(Patch.value,2)==1,
+	Patch.value=[Patch.value Patch.value Patch.value];
+end
 connectivity=sparse(Patch.index(:),1,1);
 value       =sparse(Patch.index(:),1,Patch.value(:));
