Index: /issm/trunk-jpl/src/c/classes/Elements/Element.cpp
===================================================================
--- /issm/trunk-jpl/src/c/classes/Elements/Element.cpp	(revision 24503)
+++ /issm/trunk-jpl/src/c/classes/Elements/Element.cpp	(revision 24504)
@@ -2040,4 +2040,9 @@
 bool       Element::IsLandInElement(){/*{{{*/
 	Input2* input=this->GetInput2(MaskLandLevelsetEnum); _assert_(input);
+	return (input->GetInputMax()>0.);
+}
+/*}}}*/
+bool       Element::IsOceanInElement(){/*{{{*/
+	Input2* input=this->GetInput2(MaskOceanLevelsetEnum); _assert_(input);
 	return (input->GetInputMax()>0.);
 }
Index: /issm/trunk-jpl/src/c/classes/Elements/Element.h
===================================================================
--- /issm/trunk-jpl/src/c/classes/Elements/Element.h	(revision 24503)
+++ /issm/trunk-jpl/src/c/classes/Elements/Element.h	(revision 24504)
@@ -143,4 +143,5 @@
 		bool               IsIceOnlyInElement();
 		bool               IsLandInElement();
+		bool               IsOceanInElement();
 		void               Ismip6FloatingiceMeltingRate();
 		bool               IsWaterInElement();
