Commit 945397c0 authored by Turnhout, M.C. van's avatar Turnhout, M.C. van
Browse files

fix for maxnlnodes

parent 16d74739
......@@ -40,7 +40,7 @@ sol = solvestat(K, rhs, bndcon, nodfrc, dest);
rhs = K*sol;
%* compute the stresses
sigma = zeros(nelem, maxnlnodes);
sigma = zeros(nelem, size(top, 2)-2);
for ielem = 1:nelem
sigma(ielem, :) = elm1d_d(ielem, coord, top, mat.mat, pos, sol);
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment