McCode icon indicating copy to clipboard operation
McCode copied to clipboard

GROUP between rotated slits does not work

Open willend opened this issue 1 year ago • 0 comments

(Initial bug report from @g5t)

In the attached example, two slits rotated in opposite directions are placed in a GROUP. As long as Ang=0 (i.e. the slits are not rotated), the GROUP works as expected.

Screenshot 2022-08-30 at 14 22 54

Once a finite rotation is added, the second slit is no longer functional Screenshot 2022-08-30 at 14 25 59

Adding an ALLOW_BACKPROP; in the TRACE of Slit.comp brings the expected functionality (output from an Ang=10 run): Screenshot 2022-08-30 at 14 27 49

What this all-together means is that the RESTORE_NEUTRON associated with being !SCATTERED in a group element is not working. Code-generator massage needed. GROUP.instr.txt

willend avatar Aug 30 '22 12:08 willend