From 8fa78749bb29dc04e43c5906c1525ba2c8acbe0b Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Fri, 24 Oct 2014 13:33:03 +0000
Subject: [PATCH] Add additional method giving Dirichlet values for a 3d model
 of the same problem

[[Imported from SVN: r9928]]
---
 wriggers-l-shape-dirichlet-values.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/wriggers-l-shape-dirichlet-values.py b/wriggers-l-shape-dirichlet-values.py
index 50a8a19d..eac737a0 100644
--- a/wriggers-l-shape-dirichlet-values.py
+++ b/wriggers-l-shape-dirichlet-values.py
@@ -2,10 +2,17 @@ class DirichletValues:
     def __init__(self, homotopyParameter):
         self.homotopyParameter = homotopyParameter
 
+    # Deformation of 3d classical materials
+    def dirichletValues(self, x):
+        # Clamp the L-shape in its reference configuration
+        return [x[0], x[1], x[2]]
+
+    # Deformation of Cosserat shells
     def deformation(self, x):
         # Clamp the L-shape in its reference configuration
         return [x[0], x[1], 0]
 
+    # Orientation of Cosserat materials
     def orientation(self, x):
         rotation = [[1,0,0], [0, 1, 0], [0, 0, 1]]
         return rotation
-- 
GitLab