Skip to content
Snippets Groups Projects
Commit 66aa74b6 authored by Koen Hillewaert's avatar Koen Hillewaert
Browse files

bug fix: different rotation sign convention in CGNS format

parent a53a7b9e
No related branches found
No related tags found
No related merge requests found
...@@ -838,11 +838,11 @@ public: // transformation operations ...@@ -838,11 +838,11 @@ public: // transformation operations
double ca = cos(ra[i]); double ca = cos(ra[i]);
double sa = sin(ra[i]); double sa = sin(ra[i]);
// rotation with -alpha // rotation with alpha
rotation(ii,ii) = ca; rotation(ii,ii) = ca;
rotation(ii,jj) = -sa; rotation(ii,jj) = sa;
rotation(jj,ii) = sa; rotation(jj,ii) = -sa;
rotation(jj,jj) = ca; rotation(jj,jj) = ca;
compoundRotation.gemm(rotation,tmp,1,0); compoundRotation.gemm(rotation,tmp,1,0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment