Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update _hyperelasticity_isotropic.py concerning #136 #137

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

Sad-Abd
Copy link
Contributor

@Sad-Abd Sad-Abd commented Oct 23, 2023

Modified the definition of C

@adtzlr
Copy link
Owner

adtzlr commented Oct 23, 2023

But that is equivalent (dot is actually matmul in matadi). Does that make a difference? Okay, dot has the transpose included.

I've seen your comment in the discussion, thanks!

Ready for merging 🚀

Copy link
Owner

@adtzlr adtzlr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything's fine!

@@ -8,7 +8,7 @@ def linear_elastic(F, mu, lmbda):


def saint_venant_kirchhoff(F, mu, lmbda):
C = dot(transpose(F), F)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks! dot() contains the transpose, so that was wrong.

@adtzlr adtzlr merged commit 2992993 into adtzlr:main Oct 23, 2023
4 checks passed
@Sad-Abd Sad-Abd deleted the patch-1 branch October 23, 2023 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants