McCode icon indicating copy to clipboard operation
McCode copied to clipboard

The home of the McStas (neutrons) and McXtrace (x-rays) Monte-Carlo ray-tracing instrument simulation codes.

Results 215 McCode issues
Sort by recently updated
recently updated
newest added

The cPGM grating for Bloch by default uses the 0th order line - i.e. does not monchromatize at all. This should be changed.

McXtrace 1.6

The default instrument parameters don't really yield anything on detectors. This should be set to something that actually gives a signal.

C: McXtrace component
McXtrace 1.5
ready for release

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...

bug
McStas 2.5
McStas 2.6
McStas 2.6.1
toward 2.7.1

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...

C: McStas component
C: McXtrace component
McStas 3.0
McXtrace 3.0