[NOBUGS] Fwd: McXtrace 3.2 bug in the "anisotropic" SasView components

Peter Kjær Willendrup pkwi at fysik.dtu.dk
Tue Feb 13 15:43:05 GMT 2024


Dear all,

A bug spotted and fixed in McXtrace.

Best,
Peter

Begin forwarded message:

From: Peter Willendrup <pkwi at fysik.dtu.dk>
Subject: McXtrace 3.2 bug in the "anisotropic" SasView components
Date: 13 February 2024 at 16.39.02 CET
To: mcxtrace-users at mcxtrace.org

Dear all, a bug in the 3.2 release of McXtrace has been found by one of our DTU users.


Instruments containing "anisotropic" SasView components will not compile out of the box, instead giving the compilation error

core_shell_cylinder:2944:43: error: expected ')'
  double l0, l1, k, l_full, l, dl, d_Phi, theta;
                                          ^

which indicates a doubly-defined 'theta' symbol in the generated component-codes.

If you need / want to use one of these anisotropic models, please either

  *   Pick a "fresh" comp from our Git repo (https://github.com/McStasMcXtrace/McCode/tree/main/mcxtrace-comps/sasmodels)
  *   Edit the first line in TRACE containing

TRACE
%{
  double l0, l1, k, l_full, l, dl, d_Phi, theta;

to instead read

TRACE
%{
  double l0, l1, k, l_full, l, dl, d_Phi;

A fresh McXtrace release will be spun out in the spring of 2024.


Best,

Peter Kjær Willendrup
Forskningsingeniør, Specialkonsulent

DTU Physics
[image001.gif]


Technical University of Denmark


[image002.gif]


Department of Physics
Fysikvej
Building 307
DK-2800 Kongens Lyngby

Main office at
ESS DMSC
COBIS, Ole Maaløes vej 3, 2200 København N, Denmark

Direct +45 2125 4612
Mobil +45 2125 4612
Fax +45 4593 2399
pkwi at fysik.dtu.dk

Peter Kjær Willendrup
Forskningsingeniør, Specialkonsulent

DTU Physics
[image001.gif]


Technical University of Denmark


[image002.gif]


Department of Physics
Fysikvej
Building 307
DK-2800 Kongens Lyngby

Main office at
ESS DMSC
COBIS, Ole Maaløes vej 3, 2200 København N, Denmark

Direct +45 2125 4612
Mobil +45 2125 4612
Fax +45 4593 2399
pkwi at fysik.dtu.dk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.nobugsconference.org/pipermail/nobugs/attachments/20240213/3498b5d1/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 58 bytes
Desc: image001.gif
URL: <https://lists.nobugsconference.org/pipermail/nobugs/attachments/20240213/3498b5d1/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 1055 bytes
Desc: image002.gif
URL: <https://lists.nobugsconference.org/pipermail/nobugs/attachments/20240213/3498b5d1/attachment-0003.gif>


More information about the NOBUGS mailing list