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

Hi, my name is Shuqi Xu, currently working remotely for the HighNESS project of ESS. I am using McStas-3.1 + NCrystal-3.2.0 to simulate the measurements performed at IN5 provided by...

(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),...

For the latest `v3.1` release available for (at least) x86_64 linux and macOS, attempting to interactively configure an instrument via `mcgui` raises a `TypeError`. ## Steps to reproduce the error...

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

[MITR_4DH4.zip](https://github.com/McStasMcXtrace/McCode/files/9330250/MITR_4DH4.zip) ![stops at 1 4e9](https://user-images.githubusercontent.com/75742981/184456506-61eb6f93-6620-45a8-b5e6-d9649c396fe9.png) When running the attached .instr file on Windows, the simulation consistently stops after generating around 1.4e9 neutrons. See the interruption of the progression bar on...

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

Calculate EXAFS with FEFF.

enhancement
mcxtrace-1.7
mcxtrace-3.0

Seen on Windows in a (big) MPI-run with 72 cores. After the end of simulation, dataset was not plot-able, mcplot output: ``` /Applications/McStas-3.1.app/Contents/Resources/mcstas/3.1/tools/Python/mcplot/pyqtgraph/plotfuncs.py:183: VisibleDeprecationWarning: Creating an ndarray from ragged nested...

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

On mccode-3: - to be removed since new code structure is (currently) not compatible On master: - move to Legacy-perl-cmdline - Add patch to call code-generator with full path -...

Along the lines of `nvc -fast -Minfo=accel -acc=gpu main.c`

Discussion if any should take place at https://github.com/mctools/mcpl/issues/59

Windows
annonyance
mcstas-2.7.1
mcstas-3.1
mcxtrace-1.7
mcxtrace-3.0
MCPL

Use X-ray lib to simulate the energy and probability of fluorescence lines: - http://lvserver.ugent.be/xraylib-web/index.php?xrlFunction=FluorYield&Element=26&ElementOrCompound=FeSO4&Compound=Ca5%28PO4%293&AugerTransa=K&AugerTransb=L2&AugerTransc=M3&Linename1a=K&Linename1b=L3&Linename2=KA1_LINE&LinenameSwitch=ALL&NISTcompound=Gadolinium+Oxysulfide&RadioNuclide=55Fe&Shell=ALL&Energy=10.0&Theta=1.5707964&Phi=3.14159&MomentumTransfer=0.57032&CKTrans=FL12_TRANS&Density=1.0&PZ=1.0&submit=Go%21&Language=C In any case there are questions to assess: - scattering direction (4Pi ?, cone ?, etc)...

enhancement
C: McXtrace component