Index: /issm/trunk-jpl/src/m/classes/matdamageice.m
===================================================================
--- /issm/trunk-jpl/src/m/classes/matdamageice.m	(revision 15202)
+++ /issm/trunk-jpl/src/m/classes/matdamageice.m	(revision 15203)
@@ -103,8 +103,11 @@
 			md = checkfield(md,'materials.rheology_Z','>',0,'size',[md.mesh.numberofvertices 1]);
 			md = checkfield(md,'materials.rheology_law','values',{'None' 'Paterson' 'Arrhenius'});
-			md = checkfield(md,'materials.lithosphere_shear_modulus','>',0,'numel',1);
-			md = checkfield(md,'materials.lithosphere_density','>',0,'numel',1);
-			md = checkfield(md,'materials.mantle_shear_modulus','>',0,'numel',1);
-			md = checkfield(md,'materials.mantle_density','>',0,'numel',1);
+
+			if ismember(GiaAnalysisEnum(),analyses),
+				md = checkfield(md,'materials.lithosphere_shear_modulus','>',0,'numel',1);
+				md = checkfield(md,'materials.lithosphere_density','>',0,'numel',1);
+				md = checkfield(md,'materials.mantle_shear_modulus','>',0,'numel',1);
+				md = checkfield(md,'materials.mantle_density','>',0,'numel',1);
+			end
 
 		end % }}}
Index: /issm/trunk-jpl/src/m/classes/matice.m
===================================================================
--- /issm/trunk-jpl/src/m/classes/matice.m	(revision 15202)
+++ /issm/trunk-jpl/src/m/classes/matice.m	(revision 15203)
@@ -101,8 +101,11 @@
 			md = checkfield(md,'materials.rheology_n','>',0,'size',[md.mesh.numberofelements 1]);
 			md = checkfield(md,'materials.rheology_law','values',{'None' 'Paterson' 'Arrhenius'});
-			md = checkfield(md,'materials.lithosphere_shear_modulus','>',0,'numel',1);
-			md = checkfield(md,'materials.lithosphere_density','>',0,'numel',1);
-			md = checkfield(md,'materials.mantle_shear_modulus','>',0,'numel',1);
-			md = checkfield(md,'materials.mantle_density','>',0,'numel',1);
+
+			if ismember(GiaAnalysisEnum(),analyses),
+				md = checkfield(md,'materials.lithosphere_shear_modulus','>',0,'numel',1);
+				md = checkfield(md,'materials.lithosphere_density','>',0,'numel',1);
+				md = checkfield(md,'materials.mantle_shear_modulus','>',0,'numel',1);
+				md = checkfield(md,'materials.mantle_density','>',0,'numel',1);
+			end
 
 		end % }}}
