Skip to content

Commit

Permalink
Merge pull request #642 from hibtc/srotation_angle_survey
Browse files Browse the repository at this point in the history
Revert "Think this is the correct handeling in survey."
  • Loading branch information
tpersson committed Jul 5, 2018
2 parents ad23634 + 07f07ae commit 9a95c0e
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 55 deletions.
4 changes: 2 additions & 2 deletions src/survey.f90
Expand Up @@ -281,8 +281,8 @@ subroutine suelem(el, ve, we, tilt)
case (code_srotation) !---- Rotation around S-axis. SPECIAL CASE
tilt = node_value('angle ') * bv
we(1,1) = cos(tilt)
we(2,1) = -sin(tilt) !should be - according to convention in MAD8 PhysG. or MADX manual?
we(1,2) = sin(tilt) !should be + according to convention in MAD8 PhysG. or MADX manual?
we(2,1) = sin(tilt) !should be - according to convention in MAD8 PhysG. or MADX manual?
we(1,2) = -sin(tilt) !should be + according to convention in MAD8 PhysG. or MADX manual?
we(2,2) = cos(tilt)

case (code_yrotation) !---- Rotation around Y-axis. QUESTIONABLE USEFULNESS !!!!!!!!!!!!!
Expand Down

0 comments on commit 9a95c0e

Please sign in to comment.