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

``` Traceback (most recent call last): File "/zhome/89/0/38697/McStas/mcstas/2.x-dev/bin/../tools/Python/mcplot/pyqtgraph/mcplot.py", line 67, in main(args) File "/zhome/89/0/38697/McStas/mcstas/2.x-dev/bin/../tools/Python/mcplot/pyqtgraph/mcplot.py", line 57, in main raise e File "/zhome/89/0/38697/McStas/mcstas/2.x-dev/bin/../tools/Python/mcplot/pyqtgraph/mcplot.py", line 51, in main plotter.runplot() File "/zhome/89/0/38697/McStas/mcstas/2.x-dev/tools/Python/mcplot/pyqtgraph/../../mccodelib/pqtgfrontend.py", line...

mcstas-2.7.1
mcstas-3.1

A user has recently identified that when using field-components, the memory-footprint grows during simulation (and looks to be proportional with the chosen ncount) and may grow to a point where...

mcstas-2.7.1
mcstas-3.1

The right place to continue McStas-oriented discussion starting from https://github.com/mctools/ncrystal/discussions/87, that started off like this post by @thallor1: > Hello - I was wondering if a feature exists within Ncrystal...

When using a user-defined field-function in McStas 2.x (feature not available in 3.x) e.g. like in ```Test_Magnetic_Userdefined.instr```, it seems that the field-function is not evaluated correctly. (In the listede instrument...

mcstas-2.7.1

Currently, the combination of propagation including both a precession-field and gravitation is not supported. (This means that e.g. Guide_gravity can not be placed in a field-region.) In 2.7.1 the user...

mcstas-2.7.1
mcstas-3.1

McStas-3.x limitation wrt. polarisation: Currently, the Pol_Bfield component in McStas-3.x only supports "analytically defined" fields. The component may be "open-ended" by setting concentric=1, leaving field-exit to Pol_Bfield_stop - thus allowing...

mcstas-3.1

Ideas: a) ```ASSERT ( isnotnan(par), par1>par2, par2>0)``` Uses code-generator to evaluate post-```INITIALIZE``` conditions on comp/instr input parameters. McDoc could then list these requirements in a in the comp / instr...

COGEN3

Dear McStas Team, I was using Guide_anyshape_r, written by Peter Link, the head of the optic group of MLZ/FRM II. After some attempts to simulate a guide with a customized...

mcstas-2.7.1
mcstas-3.1

Observations from @antoinepado and @mads-bertelsen indicate that both the McStas and McXtrace Single_crystal have an issue with correctly defining (e.g.) lattice-orientation via the input-parameters. In other words, it seems as...

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