en elements</span>
                        int.kinemat = int.kinemat.setRelPos(p1,p2);

                        <span class="comment">% Check if separation is greater than cutoff distance</span>
                        <span class="comment">% Assumption: cutoff ratio applies to maximum radius</span>
                        <span class="keyword">if</span> (int.kinemat.separ &gt;= this.cutoff * max(p1.radius,p2.radius))
                            <span class="comment">% Remove interaction references from ele