There's a bug in the new fringe-field feature for KQUAD that occurs when EDGE1_EFFECTS=1 or EDGE2_EFFECTS=1. In particular, the path-length isn't correct, due to failure to initialize a variable.
For those who build from source, the corrected code is attached. Otherwise, a workaround is to set EDGE1_EFFECTS=EDGE2_EFFECTS=2. This has the side effect of turning on nonlinear fringe effects.
--Michael
KQUAD fringe bug
Moderators: michael_borland, soliday
-
- Posts: 1951
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
KQUAD fringe bug
- Attachments
-
- fringe.c
- (9.75 KiB) Downloaded 409 times
Re: KQUAD fringe bug
Michael, thanks a lot for this new option in KQUAD!