Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 01bf4e97 authored by PETIT Manuel's avatar PETIT Manuel
Browse files

Fix error related to the nabla_grad vs. grad

parent 4b9a1e60
No related branches found
No related tags found
No related merge requests found
Pipeline #941599 waiting for manual action
...@@ -310,7 +310,7 @@ class HyperElasticForm(ElasticForm): ...@@ -310,7 +310,7 @@ class HyperElasticForm(ElasticForm):
elif self.model == 'neo_hookean': elif self.model == 'neo_hookean':
d = u.geometric_dimension() d = u.geometric_dimension()
Id = fe.Identity(d) Id = fe.Identity(d)
F = Id + fe.nabla_grad(sol) F = Id + fe.grad(sol)
C = F.T * F C = F.T * F
Ic = fe.tr(C) Ic = fe.tr(C)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment