(fi)=-N.k(fi); <span class="keyword">end</span>
0068     <span class="keyword">if</span> isfield(N,<span class="string">'k'</span>), N.u(fi)=-N.u(fi); <span class="keyword">end</span>
0069 <span class="keyword">end</span>
0070 
0071 <span class="comment">% switch check2dfile(datfile),</span>
0072 <span class="comment">%     case 1,</span>
0073 <span class="comment">%         N=readres2dinvfile(datfile);</span>
0074 <span class="comment">%     case 2,</span>
0075 <span class="comment">%         N=readinv2dfi