Skip to content

Commit

Permalink
better norm for strain tensor
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfHielscher committed Sep 28, 2023
1 parent 673d567 commit 43229c1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions TensorAnalysis/@strainTensor/norm.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
function n = norm(epsilon)

n = reshape(max(abs(eig3(epsilon.M)),[],1),size(epsilon));

end

0 comments on commit 43229c1

Please sign in to comment.