Media'</span>)
                disp(<span class="string">'Error in setMaterial: porousMedia is not a PorousMedia object.'</span>);
                error(<span class="string">'Error in setMaterial.'</span>);
            <span class="keyword">end</span>
            this.mat = struct(<span class="string">'porousMedia'</span>,porousMedia);
        <span class="keyword">end</span>

        <span class="comment">%------------------------------------------------------------------</span>
        <span class="commen