er</span>
        <span class="keyword">function</span> addLoadAtBorder(this, border, dir, p)
            <span class="comment">% Get the nodes at the given border</span>
            <span class="keyword">if</span> strcmp(border,<span class="string">'left'</span>)
                ref = min(this.NODE(:,1));
            <span class="keyword">elseif</span> strcmp(border,<span class="string">'right'</span>)
                ref = max(this.NODE(:,1));
            <span class="keyword">elseif</span> strcmp(border,