moments_output bug with quad fringe fields

Moderators: michael_borland, soliday

Post Reply
michael_borland
Posts: 1933
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

moments_output bug with quad fringe fields

Post by michael_borland » 18 Nov 2011, 15:31

There is a bug in moments_output when quadrupoles have fringe field effects. This applies to KQUAD and QUAD elements. The bug results in invalid calculations of (usually) the vertical emittance.

For those who build from source, the attached file fixes the bug.

--Michael
Attachments
analyze.c
(35.63 KiB) Downloaded 1140 times

michael_borland
Posts: 1933
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: moments_output bug with quad fringe fields

Post by michael_borland » 01 Mar 2012, 18:18

This has been fixed in release 25.0.2.

--Michael

Post Reply