Index: ../trunk-jpl/src/c/classes/Elements/Element.cpp
===================================================================
--- ../trunk-jpl/src/c/classes/Elements/Element.cpp	(revision 18905)
+++ ../trunk-jpl/src/c/classes/Elements/Element.cpp	(revision 18906)
@@ -1276,7 +1276,7 @@
 				phi[i]=h[i]+r[i]/density;
 			}
 		}
-		else phi[i]=h[i]+r[i]/density;
+		else if(migration_style!=ContactEnum) phi[i]=h[i]+r[i]/density;
 	}
 	this->AddInput(MaskGroundediceLevelsetEnum,&phi[0],P1Enum);
 
