McStasMcXtrace / McCode

The home of the McStas (neutrons) and McXtrace (x-rays) Monte-Carlo ray-tracing instrument simulation codes.
https://github.com/McStasMcXtrace/McCode/wiki
GNU General Public License v3.0
78 stars 54 forks source link

McXtrace comps: Multilayer_elliptic and Mirror comps use different format for reflectivity files. #590

Open ebknudsen opened 6 years ago

ebknudsen commented 6 years ago

This should be fixed so they all can handle the same formats.

ebknudsen commented 6 years ago

...and should really be delegated to a specific library - ref-lib.[ch] - or something. to allow:

  1. file with R=f(q)
  2. file with material coating
  3. file with R=f(theta,E)
  4. multilayer specs - converted to R by means of Parratt's algorithm