Index: /issm/trunk/src/m/classes/public/ismodelselfconsistent.m
===================================================================
--- /issm/trunk/src/m/classes/public/ismodelselfconsistent.m	(revision 2518)
+++ /issm/trunk/src/m/classes/public/ismodelselfconsistent.m	(revision 2519)
@@ -233,4 +233,11 @@
 	checknan(md,fields);
 
+	%CHECK THAT WE ARE NOT FULLY CONSTRAINED
+	if strcmpi(md.type,'2d'),
+		if isempty(find(~md.spcthickness(:,1))),
+			error(['model not consistent: model ' md.name ' is totally constrained for prognostic, no need to solve!']);
+		end
+	end
+
 end
 
@@ -265,4 +272,11 @@
 	if strcmp(md.type,'2d'),
 		error(['model not consistent: for a ' md.analysis_type ' computation, the model must be 3d, extrude it first!'])
+	end
+
+	%CHECK THAT WE ARE NOT FULLY CONSTRAINED
+	if strcmpi(md.type,'2d'),
+		if isempty(find(~md.spctemperature(:,1))),
+			error(['model not consistent: model ' md.name ' is totally constrained for temperature, no need to solve!']);
+		end
 	end
 
