[mcxtrace-users] Errors when using Mirror_curved.comp and Mirror_elliptic.comp(McXtrace 1.7)

吴燕康 wuyk21 at mails.tsinghua.edu.cn
Tue Oct 18 17:51:46 CEST 2022

Hi to all.

    I am using McXtrace v1.7 to simulate Kirkpatrick-Baez focusing.Recently,I encountered some problems when I used two components  (Mirror_curved.comp and Mirror_elliptic.comp) for X-ray optical tracing. 

    The position of the cylindrical mirror was wrong. If this instrument contains Mirror_elliptic.comp, there will be an error that the compiler translates the instrument definition into a Monte Carlo simulation program provided in ISO-C,someparameters undeclared. When using a cylindrical mirror, the mirror will be extended from the center of the mirror, backward along the z-axis to the aperture position and forward along the z-axis to the length of a mirror. 

    This is obviously not true. I have proven it in the attached document. But so far, I haven’t found the solution to this problem, and the purpose of writing this letter is to sincerely ask for advice.

    Any help would be appreciated.


Yangkang WU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcxtrace.org/pipermail/mcxtrace-users/attachments/20221018/be589f9f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Several_errors_occurred_during_simulation.pdf
Type: application/pdf
Size: 678980 bytes
Desc: not available
URL: <http://mailman2.mcxtrace.org/pipermail/mcxtrace-users/attachments/20221018/be589f9f/attachment-0001.pdf>

More information about the mcxtrace-users mailing list