Page 1 of 1

KQUAD fringe bug

Posted: 14 Nov 2011, 17:59
by michael_borland
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

Re: KQUAD fringe bug

Posted: 14 Nov 2011, 18:13
by petrenko
Michael, thanks a lot for this new option in KQUAD!