Skip to content
Snippets Groups Projects
Commit a8024c0d authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

Rotate the strip only three times

[[Imported from SVN: r9780]]
parent 0a20cfb8
No related branches found
No related tags found
No related merge requests found
...@@ -60,7 +60,7 @@ public: ...@@ -60,7 +60,7 @@ public:
for (int i=0; i<dim; i++) for (int i=0; i<dim; i++)
y[i] = x[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: ...@@ -103,7 +103,7 @@ public:
void evaluate(const FieldVector<double,dim>& in, FieldVector<double,3>& out) const 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_; angle *= homotopy_;
// center of rotation // center of rotation
...@@ -142,7 +142,7 @@ public: ...@@ -142,7 +142,7 @@ public:
void evaluate(const FieldVector<double,dim>& in, FieldMatrix<double,3,3>& out) const 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_; angle *= homotopy_;
// center of rotation // center of rotation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment