Index: /issm/trunk/src/m/model/ismodelselfconsistent.m
===================================================================
--- /issm/trunk/src/m/model/ismodelselfconsistent.m	(revision 8730)
+++ /issm/trunk/src/m/model/ismodelselfconsistent.m	(revision 8731)
@@ -115,4 +115,13 @@
 		message(['model not consistent: model ' md.name ' requesting grounding line migration, but bathymetry is absent!']);
 	end
+	pos=find(md.nodeonicesheet); 
+	if any(md.bed(pos)-md.bathymetry(pos)),
+		message(['model not consistent: model ' md.name ' bathymetry not equal to bed on icesheet!']);
+	end
+	pos=find(md.nodeoniceshelf); 
+	if any(md.bathymetry(pos)-md.bed(pos)>tolerance),
+		message(['model not consistent: model ' md.name ' bathymetry superior to bed on iceshelf!']);
+	end
+
 end
 
