From a8024c0de91186e394d9fdebdd3901aa10d398ce Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Fri, 13 Jun 2014 13:38:19 +0000 Subject: [PATCH] Rotate the strip only three times [[Imported from SVN: r9780]] --- cosserat-continuum.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cosserat-continuum.cc b/cosserat-continuum.cc index d9b7ecc4..4899ad18 100644 --- a/cosserat-continuum.cc +++ b/cosserat-continuum.cc @@ -60,7 +60,7 @@ public: for (int i=0; i<dim; i++) y[i] = x[i]; - y[2] = 0.002*std::cos(1e4*x[0]); + //y[2] = 0.002*std::cos(1e4*x[0]); } }; @@ -103,7 +103,7 @@ public: void evaluate(const FieldVector<double,dim>& in, FieldVector<double,3>& out) const { - double angle = 0.5*M_PI * in[0]/upper_[0]; + double angle = 6*M_PI * in[0]/upper_[0]; angle *= homotopy_; // center of rotation @@ -142,7 +142,7 @@ public: void evaluate(const FieldVector<double,dim>& in, FieldMatrix<double,3,3>& out) const { - double angle = 0.5*M_PI * in[0]/upper_[0]; + double angle = 6*M_PI * in[0]/upper_[0]; angle *= homotopy_; // center of rotation -- GitLab