McCode
McCode copied to clipboard
The home of the McStas (neutrons) and McXtrace (x-rays) Monte-Carlo ray-tracing instrument simulation codes.
This should be fixed.
The cPGM grating for Bloch by default uses the 0th order line - i.e. does not monchromatize at all. This should be changed.
The default instrument parameters don't really yield anything on detectors. This should be set to something that actually gives a signal.
mcgui/mxgui editor can crash when presented with file encodings not directly extrapolated into utf-8
In mcgui/viewclasses.py line 399 , a file is opened using explicitly utf-8 encoding. This seems occasionally to cause problems with some files with other encodings. - Do we need to...
From SOLEIL McXtrace tutorial, with the updated Source_spectra and exercise-given input files one gets this on macOS:
Something along the lines of ```gcc -fopenmp -foffload=-lm -foffload=-latomic -DOPENACC BNL_H8.c -lm``` seems to at least provide a compiled binary using gcc 10. Investigate further. Original and edited BNL_H8.c codes...
If an event mode monitor is used with MPI we may experience freezes. This can happen if at least one node does not register *any* event on that monitor. In...
For 2nd gen cogen, Mask uses the masking variable to extract the pixel value of the mask at the point of intersection, for use with the virtual operation. This is...