Skip to content
Snippets Groups Projects
Commit ba9d868f authored by Oliver Sander's avatar Oliver Sander Committed by sander@PCPOOL.MI.FU-BERLIN.DE
Browse files

damp rotation as well

[[Imported from SVN: r1539]]
parent 2e7c5484
No related branches found
No related tags found
No related merge requests found
......@@ -356,7 +356,8 @@ int main (int argc, char *argv[]) try
for (int j=0; j<dim; j++)
lambda.r[j] = (1-damping) * lambda.r[j] + damping * (referenceInterface.r[j] + averageInterface.r[j]);
lambda.q = averageInterface.q.mult(referenceInterface.q);
lambda.q = Quaternion<double>::interpolate(lambda.q, averageInterface.q, damping);
// ////////////////////////////////////////////////////////////////////////
// Write the two iterates to disk for later convergence rate measurement
......
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