From cde23e331ebc3a1b3f9752259901037636e2d1a3 Mon Sep 17 00:00:00 2001 From: Martin Genet <martin.genet@polytechnique.edu> Date: Tue, 11 Dec 2018 12:26:17 +0100 Subject: [PATCH] It is now impossible to provide non symmetric Green-Lagrange strain in generate_images --- generate_images.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/generate_images.py b/generate_images.py index fe2a56f..75da713 100644 --- a/generate_images.py +++ b/generate_images.py @@ -465,14 +465,11 @@ class Mapping: Eyy = self.deformation["Eyy"]*self.phi(t) if ("Eyy" in self.deformation.keys()) else 0. Ezz = self.deformation["Ezz"]*self.phi(t) if ("Ezz" in self.deformation.keys()) else 0. Exy = self.deformation["Exy"]*self.phi(t) if ("Exy" in self.deformation.keys()) else 0. - Eyx = self.deformation["Eyx"]*self.phi(t) if ("Eyx" in self.deformation.keys()) else 0. - Exz = self.deformation["Exz"]*self.phi(t) if ("Exz" in self.deformation.keys()) else 0. - Ezx = self.deformation["Ezx"]*self.phi(t) if ("Ezx" in self.deformation.keys()) else 0. Eyz = self.deformation["Eyz"]*self.phi(t) if ("Eyz" in self.deformation.keys()) else 0. - Ezy = self.deformation["Ezy"]*self.phi(t) if ("Ezy" in self.deformation.keys()) else 0. - self.F = numpy.array([[Exx, Exy, Exz], - [Eyx, Eyy, Eyz], - [Ezx, Ezy, Ezz]]) + Ezx = self.deformation["Ezx"]*self.phi(t) if ("Ezx" in self.deformation.keys()) else 0. + self.F = numpy.array([[Exx, Exy, Ezx], + [Exy, Eyy, Eyz], + [Ezx, Eyz, Ezz]]) self.F *= 2 self.F += numpy.eye(3) w, v = numpy.linalg.eig(self.F) -- GitLab