You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FIDASIM and prefida use the wrong convention for rotations with angles defined to the negative x axis. There is also some device specific routines in fidasim.f90 that relate to rotations. I suggest the following.
Right handed coordinate system for beam
+x direction should be defined as into the plasma
Positive angle == counter-clockwise rotation
When going from beam coor. to mach. coor. first rotate about z axis and then about y axis.
Replace current rotation matrices with one rotation matrix R = Ry*Rz
Also tilted beam is broken
The text was updated successfully, but these errors were encountered:
FIDASIM and prefida use the wrong convention for rotations with angles defined to the negative x axis. There is also some device specific routines in fidasim.f90 that relate to rotations. I suggest the following.
Also tilted beam is broken
The text was updated successfully, but these errors were encountered: