From d1b86c3e8b261bcb524445e358f1e7eb154df778 Mon Sep 17 00:00:00 2001 From: Mohamed ZAARAOUI <115699524+ZAARAOUI999@users.noreply.github.com> Date: Mon, 18 Dec 2023 18:59:21 +0100 Subject: [PATCH] Update README.md --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9f787df..5cd961d 100644 --- a/README.md +++ b/README.md @@ -30,10 +30,8 @@ import hypermat as hm umat = hm.NeoHooke(C10=0.5, K=0) # Initialise deformation gradient values -F = np.array(hm.like(np.eye(3), np.zeros((100,100,3,3)))) -F[...,0,0] = 0.25 -F[...,0,2] = 0.5 -F[...,2,1] = 0.3 +np.random.seed(125161) +F = (np.eye(3) + np.random.rand(50, 8, 3, 3) / 10).T # Get stress tensor P = umat.jacobian(F.T)