Changeset 9366


Ignore:
Timestamp:
08/22/11 08:15:57 (14 years ago)
Author:
Mathieu Morlighem
Message:

some cleanup

Location:
issm/trunk/src/m/model
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/model/shear2d.m

    r1236 r9366  
    66%   Usage:
    77%      [sx,sy,sxy,s]=shear2d(md);
     8%      s=shear2d(md);
    89
    910[alpha beta]=GetNodalFunctionsCoeff(md.elements,md.x,md.y);
     
    1617sxy=(uy+vx)/2;
    1718s=sqrt(sx.^2+sy.^2+sxy.^2+sx.*sy);
     19
     20%if user requested only one output, it must be the norm
     21if nargout==1,
     22        sx=s;
     23end
Note: See TracChangeset for help on using the changeset viewer.