From 66aa74b66681ba14873be78dfd727ca9199bb971 Mon Sep 17 00:00:00 2001 From: Koen Hillewaert <koen.hillewaert@cenaero.be> Date: Tue, 19 Apr 2016 21:55:44 +0000 Subject: [PATCH] bug fix: different rotation sign convention in CGNS format --- Geo/GModelIO_CGNS.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Geo/GModelIO_CGNS.cpp b/Geo/GModelIO_CGNS.cpp index 880fb790be..df2636453c 100644 --- a/Geo/GModelIO_CGNS.cpp +++ b/Geo/GModelIO_CGNS.cpp @@ -838,11 +838,11 @@ public: // transformation operations double ca = cos(ra[i]); double sa = sin(ra[i]); - // rotation with -alpha + // rotation with alpha rotation(ii,ii) = ca; - rotation(ii,jj) = -sa; - rotation(jj,ii) = sa; + rotation(ii,jj) = sa; + rotation(jj,ii) = -sa; rotation(jj,jj) = ca; compoundRotation.gemm(rotation,tmp,1,0); -- GitLab