Skip to content
Snippets Groups Projects
Commit 264639a4 authored by Adrien Crovato's avatar Adrien Crovato
Browse files

Correct sign in ry mode shapes

parent a311999e
No related branches found
No related tags found
1 merge request!2Version 1.1
Pipeline #22057 passed
This diff is collapsed.
......@@ -67,7 +67,7 @@ sdpmVector3d Motion::computeSteady(Element const &e, sdpmVector3d const &ui)
{
sdpmDouble rx = _rxMod[n->getId() - 1];
sdpmDouble ry = _ryMod[n->getId() - 1];
flex += _mAmp * sdpmVector3d(-ui(2) * ry, ui(2) * rx, ui(0) * ry - ui(1) * rx) / e.getNodes().size();
flex += _mAmp * sdpmVector3d(ui(2) * ry, ui(2) * rx, -ui(0) * ry - ui(1) * rx) / e.getNodes().size();
}
return rigd + flex;
}
......
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