BUG: cyclicAMI - fixed transform for case that angle is given - mantis #1217

This commit is contained in:
andy 2014-03-28 15:59:47 +00:00 committed by Andrew Heather
parent 32aa0b82c6
commit fc31799a7e

View File

@ -154,13 +154,13 @@ void Foam::cyclicAMIPolyPatch::calcTransforms
tensor RPos tensor RPos
( (
T T
+ cos(rotationAngle_)*(tensor::I + T) + cos(rotationAngle_)*(tensor::I - T)
+ sin(rotationAngle_)*S + sin(rotationAngle_)*S
); );
tensor RNeg tensor RNeg
( (
T T
+ cos(-rotationAngle_)*(tensor::I + T) + cos(-rotationAngle_)*(tensor::I - T)
+ sin(-rotationAngle_)*S + sin(-rotationAngle_)*S
); );