![]() | ![]() |
Our code is based on technology from
Code repository (shared with 'McStas') is located at github.com/mccode-dev
For information on our progress, please subscribe to our user mailinglist..
Migrating from McXtrace 1.x to 3.x? - Use the wiki-based guides
Dear all,
McStas and McXtrace release 3.5.24 is now available - McXtrace installation
instructons on GitHub .
mcgui/mxgui
Let configuration dialogue spawn your EDITOR
to edit your local mccode_config.json
by @willend in https://github.com/mccode-dev/McCode/pull/1838 (available also by --edit-user-config
from mcrun/mxrun
)mcrun/mxrun
: New switch --cogen to allow on-demand switch to non-standard code generator.
See also interoperability with mccode-antlr
below
by @willend in https://github.com/mccode-dev/McCode/pull/1851mcrun/mxrun
Solution for picking up code generator from PATH if not found where expected
by @willend in https://github.com/mccode-dev/McCode/pull/1840mcdisplay/mxdisplay
instrument line parsing
by @g5t in https://github.com/mccode-dev/McCode/pull/1834mcdisplay/mxdisplay
in Windows
from @LelandWH https://github.com/mccode-dev/McCode/issues/1853Vertical_bender
: Add max iteration criterion for while loop (default 1000).
by @willend in https://github.com/mccode-dev/McCode/pull/1815NCrystal_sample
: Remove possible out-of-bounds memory access
by @g5t in https://github.com/mccode-dev/McCode/pull/1821Elliptic_guide_gravity
and Pol_mirror
: Minor comp revisions, suppresses compilation warnings from clang
by @willend in https://github.com/mccode-dev/McCode/pull/1826SNS_ARCS.instr
edits
by @willend in https://github.com/mccode-dev/McCode/pull/1838ISIS_IMAT.instr
DEPENDENCY " @NEXUSFLAGS@ " added
by @willend in https://github.com/mccode-dev/McCode/pull/1839Union_master
Adjustment of default parameter
by @willend in https://github.com/mccode-dev/McCode/pull/1840Union
-related fixes and imports from DMSC school
by @willend in https://github.com/mccode-dev/McCode/pull/1841Elliptical_guide_gravity
did not work in GROUPS as it always SCATTERS
by @mads-bertelsen in https://github.com/mccode-dev/McCode/pull/1843Monitor_nD
on GPU: Adjustments for coherence between CPU and GPU particle lists
by @willend in https://github.com/mccode-dev/McCode/pull/1816cl.exe
: Remove variable length array allocations for issue #1817
by @g5t in https://github.com/mccode-dev/McCode/pull/1819 and
https://github.com/mccode-dev/McCode/issues/1818 by @willend in https://github.com/mccode-dev/McCode/pull/1822mccode-antlr
mccode-antlr
is an alternative code-generator for McStas and McXtrace - a new development by @g5t and based on ANTLR
instead of lex/yacc
. The new tool is mainly written in python and thus has a lower barrier for changes in language syntax and code generation. The tool implementations mcstas-antlr
and mcxtrace-antlr
are thus a candidate implementations to potentially replace the classic mcstas
and mcxtrace
code generators in the future. Current status is thatmcstas-antlr
is fully feature complete wrt. mcstas
for CPU simulations and close to complete for GPU simulationsmcxtrace-antlr
but basic functionality is in placemccode-antlr
from conda-forge
or via pip
mcstas-antlr
by --cogen=mcstas-antlr
option in mcrun
MCCOGEN
field of mccode_config.json
using the new Save/Edit configuration
in mcgui
-I${MCSTAS}
to prefer ingredients fromyour local library)mcrun-antlr/mxrun-antlr
tools provided directly by mccode-antlr
.exe
installer from mccode.org
:
Please place the MCPL-related .bat
files from the extras
folder in e.g. c:\mcstas-3.5.24\bin
to enable MCPL
(May require giving your user 'full access' permissions to the bin folder)Full Changelog: https://github.com/mccode-dev/McCode/compare/v3.5.16...v3.5.24