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

If a simulated dataset does not contain mccode.sim but has mccode.h5 we could spawn nexpy on the datafile

ready for release

We are trying to define material files from the NIST database, since we want to do simulations with materials and composites that you don't have in the library database. According...

Via Céline Durniak (ESS) I have learned that simulated output from the `C_diamond.lau` and `C_diamond.laz` differ... She cross-checked against a `CIF` file from the internet - it seems in this...

mcxtrace-3.2
mcstas-3.4

It seems our #define's from OpenACC and SasView together in some cases end up masking / undefining the arctan function, see below error message (pasted in full even further below)...

workaround
mcxtrace-3.2
mcstas-3.4
GPU

As seen in the code generator, the property of each component representing its position along the instrument is `long` valued https://github.com/McStasMcXtrace/McCode/blob/c4c9421d630767f612703947bad4c82941220398/mcstas/src/cogen.c.in#L542 The `_getcomp_index` function finds the component which has a...