sixDoFRigidBodyMotion: Updated for change in definition of septernion::transform
This commit is contained in:
parent
860a82c0d4
commit
81b13d0244
1 changed files with 2 additions and 2 deletions
|
|
@ -352,7 +352,7 @@ Foam::tmp<Foam::pointField> Foam::sixDoFRigidBodyMotion::transform
|
|||
septernion s
|
||||
(
|
||||
centreOfRotation() - initialCentreOfRotation(),
|
||||
quaternion(Q() & initialQ().T())
|
||||
quaternion(Q().T() & initialQ())
|
||||
);
|
||||
|
||||
tmp<pointField> tpoints(new pointField(initialPoints));
|
||||
|
|
@ -375,7 +375,7 @@ Foam::tmp<Foam::pointField> Foam::sixDoFRigidBodyMotion::transform
|
|||
|
||||
points[pointi] =
|
||||
initialCentreOfRotation()
|
||||
+ ss.transform
|
||||
+ ss.invTransformPoint
|
||||
(
|
||||
initialPoints[pointi]
|
||||
- initialCentreOfRotation()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue