diff --git a/wriggers-l-shape-dirichlet-values.py b/wriggers-l-shape-dirichlet-values.py new file mode 100644 index 0000000000000000000000000000000000000000..50a8a19dd268a73abad27a92d2b694dacf3a9786 --- /dev/null +++ b/wriggers-l-shape-dirichlet-values.py @@ -0,0 +1,11 @@ +class DirichletValues: + def __init__(self, homotopyParameter): + self.homotopyParameter = homotopyParameter + + def deformation(self, x): + # Clamp the L-shape in its reference configuration + return [x[0], x[1], 0] + + def orientation(self, x): + rotation = [[1,0,0], [0, 1, 0], [0, 0, 1]] + return rotation