Skip to content

Commit 4745373

Browse files
CHG: cosmetics
1 parent 8bdcc5d commit 4745373

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/m/mech/mechanicalproperties.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
% md=mechanicalproperties(md,md.inversion.vx_obs,md.inversion.vy_obs);
1414

1515
%some checks
16-
if length(vx)~=md.mesh.numberofvertices | length(vy)~=md.mesh.numberofvertices,
16+
if length(vx)~=md.mesh.numberofvertices | length(vy)~=md.mesh.numberofvertices
1717
%error(['the input velocity should be of size ' num2str(md.mesh.numberofvertices) '!'])
1818
end
1919
if dimension(md.mesh)~=2
2020
error('only 2d model supported yet');
2121
end
22-
if any(md.flowequation.element_equation~=2),
22+
if any(md.flowequation.element_equation~=2)
2323
disp('Warning: the model has some non SSA elements. These will be treated like SSA''s elements');
2424
end
2525

@@ -82,7 +82,7 @@
8282
tau_xy=mu.*uyvx;
8383

8484
%compute principal properties of stress
85-
for i=1:numberofelements,
85+
for i=1:numberofelements
8686

8787
%compute stress and strainrate matrices
8888
stress=[tau_xx(i) tau_xy(i)

0 commit comments

Comments
 (0)