McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics NEXMAP


About McStas
 Conditions of use
 Project funding

 Other Downloads (share)

Mailing list

Search web/mailinglist

 Wiki (GitHub)
 McStas manual


Report bugs (GitHub)

Code-repository (GitHub)

McStas: Mirror_Elliptic Component

[ Identification | Description | Input parameters | Output parameters | Links ]

The Mirror_Elliptic Component

Elliptical mirror.


  • Author: Sylvain Desert
  • Origin: LLB
  • Date: 2007
  • Version:(Unknown)
  • Modification history:
    • E. Farhi, uniformize parameter names (Jul 2008)


Models an elliptical mirror. The reflectivity profile is given by a 2-column reflectivity free 
text file with format [q(Angs-1) R(0-1)]. The component is centered on the ellipse.

Example:  Mirror_Elliptic(reflect="supermirror_m3.rfl", focus=6.6e-4, 
            interfocus = 8.2, yheight = 0.0002, zmin=-3.24, zmax=-1.49)

WARNING: This is a contributed Component.

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
reflect q(Angs-1) R(0-1) (str) Reflectivity file name. Format 0
focus m [m] focal length 6.6e-4
interfocus m Distance between the two elliptical focal points 8.2
yheight m height of the mirror 2e-4
zmin m z-axis coordinate of ellipse start 0
zmax m z-axis coordinate of ellipse end 0
R0 1 Low-angle reflectivity 0.99
Qc AA-1 Critical scattering vector 0.0219
alpha AA Slope of reflectivity 6.07
m 1 m-value of material. Zero means completely absorbing. 1.0
W AA-1 Width of supermirror cut-off 0.003


[ Identification | Description | Input parameters | Output parameters | Links ]

Generated automatically by McDoc, Peter Willendrup <> / Wed Jan 12 15:13:20 2022

Last Modified: Wednesday, 12-Jan-2022 16:13:20 CET
Search website mailinglist archive GitHub repos