word">end</span>
    <span class="keyword">end</span>
</pre><h2 id="7">Public methods</h2><pre class="codeinput">    methods
        <span class="comment">%------------------------------------------------------------------</span>
        <span class="comment">% Get the liquid saturation degree</span>
        <span class="keyword">function</span> Sl = saturationDegree(this,pc)
            Sl = this.capillaryPressure.saturationDegree(pc, this.porousMedia);
        <span class="keyword">end</span>

        <sp