From 6e1d15ce3e9388060874d33b6fab221995e37ae3 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Wed, 25 Apr 2012 17:05:11 +0000
Subject: [PATCH] copy code from the wrinkling example into an out-commented
 code block

[[Imported from SVN: r8636]]
---
 cosserat-continuum.cc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/cosserat-continuum.cc b/cosserat-continuum.cc
index e2a36d57..701cf101 100644
--- a/cosserat-continuum.cc
+++ b/cosserat-continuum.cc
@@ -43,13 +43,14 @@ const int blocksize = TargetSpace::TangentVector::dimension;
 using namespace Dune;
 
 #if 0
-void dirichletValues(const FieldVector<double,dim>& in, FieldVector<double,3>& out)
+void dirichletValues(const FieldVector<double,dim>& in, FieldVector<double,3>& out,
+                     double homotopy)
 {
     out = 0;
     for (int i=0; i<dim; i++)
         out[i] = in[i];
     
-    out[0] = 2.2;
+    out[1] += homotopy;
 }
 #endif
 void dirichletValues(const FieldVector<double,dim>& in, FieldVector<double,3>& out,
-- 
GitLab