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 223 McCode issues
Sort by recently updated
recently updated
newest added

Revisit algorithm differences OpenACC vs not. It seems there is differences apart from reading in INIT vs TRACE. Visible when "repeating".

ready for release
mcstas-3.1
mcxtrace-3.0

With MCNUM in place "everywhere" in the code (with a default of double) we could easily allow to replace with single-precision. This could allow certain demeaning problems to also run...

Example from Filter.comp: If multiple Filters of same material are in the same instr, the Table_Free(&(prms->table)); in FINALLY of the later ones will fail in case of "reuse". Results in...

mcxtrace-1.7
mcxtrace-3.0

The PPD packages are no longer available it seems, so we should probably loose the perl-tool remains on Windows. Also, nxs was removed and should not be compiled at install...

mcstas-2.7.1
mcstas-3.1
mcxtrace-1.7
mcxtrace-3.0

In the attached, a factor of 3 in intensity is seen in the plot legend between the first and last value of monitor. This is however not reflected visually. In...

mcstas-2.7.1
mcstas-3.1
mcxtrace-1.7
mcxtrace-3.0

See e.g. http://new-nightly.mcstas.org/2022-10-05/McStas_8GPU_5e7/ViewModISIStest/compile_stdout.txt Solution is to use explicit malloc / free instead of C[Psize] D[Psize]

ready for release
mcstas-3.1

Add circular polarization (or even the elliptical polarization general case). Check out how shadow3 takes care of it: [How SHADOW manipulates electric vectors](https://forge.epn-campus.eu/attachments/download/2478/report-shadow-efields.pdf).

enhancement
mcxtrace-1.7
mcxtrace-3.0

Would be useful for virtual "event formation" in an ESS context.

Found via a fresh homebrew install on an M1 Mac, mcdisplay/mxdisplay breaks with: ``` starting particle parsing ended particle parsing module 'pyqtgraph.Qt.QtGui' has no attribute 'QApplication' ``` mcplot/mxplot breaks with:...

ready for release
mcstas-2.7.1
mcstas-3.1
mcxtrace-1.7
mcxtrace-3.0

When plotting any mcstas/mcxtrace simulation, the mcplot/mxplot fails when using the default pyqtgraph renderer: ```python mxplot Test_Sqw_20220922_114217 loading system configuration q - quit p - save png s - save...

bug
C: McCode tools
P: major
ready for release
mcstas-2.7.1
mcstas-3.1
mcxtrace-1.7
mcxtrace-3.0