Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #25 +/- ##
==========================================
+ Coverage 88.61% 89.24% +0.62%
==========================================
Files 5 5
Lines 281 316 +35
==========================================
+ Hits 249 282 +33
- Misses 32 34 +2 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
I could use some help defining a proper test case...
Not sure if the current one is fine.
KnutAM
left a comment
There was a problem hiding this comment.
For cohesive elements, this would be very useful to make the traction-separation implementation interface cleaner.
I believe there is a mistake (added a test proposal to show). I think the way one would need to calculate this would be (but haven't tested)
v1 = J[:, 1]
if 3d
v3 = v1 × J[:, 2] # normal vector
v2 = v3 × v1 # Ensures v2 perpendicular to v1 and v3
R = Tensor{2, 3}((normalize(v1)..., normalize(v2)..., normalize(v3)...))
else if 2d
v2 = Vec{2}(((-v[2], v[1]))
R = Tensor{2, 2}((normalize(v1)..., normalize(v2)...))
endCo-authored-by: Knut Andreas Meyer <knutam@gmail.com>
|
Thanks for the feedback 👍 |
|
Regarding the notation here, I believe that formally this should always be a coordinate transformation tensor, That has no practical meaning since
(personally I think the |
No description provided.