on</span> setDisplacementDirichletBCAtBorder(this, border, value)
            this.setDirichletBCAtBorder(border, [1,2], value);
        <span class="keyword">end</span>

        <span class="comment">% -----------------------------------------------------------------</span>
        <span class="comment">% Impose a load at a node</span>
        <span class="keyword">function</span> addLoadAtNode(this, nodeId, value)
            this.setNeumannBCAtNode(nodeId, [1,2], value);
        <span class="keyword">end