Open willend opened 1 year ago
It turns out that the issue occurs mostly ( only? ) in cases with
order=1
Below result is made with a model of the NMX instrument, dumping an MCPL file in front of the sample, which is picked up by a "backend" instrument:
Result on the left is made with repeat_count=999,E_smear=0.05,pos_smear=0.005,dir_smear=0.01
and on the right simply SPLIT 999
on the sample.
Interstingly, setting order=0 also seems to work!
Workaround pointed out: Please use order=0
Postponing final resolution until post release of McStas 3.3
(This issue LIKELY also affects McStas 3 and potentially also both of the current McXtrace releases)
With the stock
Single_crystal
from 2.7.2 an ESS user found that the Single_crystal only produced incoherent scattering in his instrument (NMX). The datafile used wasRubredoxin.lau
(~ 124K unique reflections) and output looks like this:When falling back to 2.7.1, Bragg spots appear as expected.
Error messages in the output indicate connection to length of the tau search list:
Reasonably so, the component suggests to heighten the number of reflections:
Warning (Xtal): The reflection short list buffer was exhausted at least once. Please consider redefining MCSX_REFL_SLIST_SIZE > 128
The limited-length tau search list is in fact a McCode-3 related GPU invention, but seems to include unwanted side-effects.
For now, a fallback solution is to use the attached
Single_crystal.comp
which has been ported to work with 2.7.2 and produces Bragg-scattering as expected:Single_crystal.comp.txt