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

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding

Download
 Components
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)


The Mirror_Elliptic McStas Component

14.46  The Mirror_Elliptic McStas Component

Elliptical mirror.

Identification

  • Author: <a href="mailto:desert@drecam.cea.fr">Sylvain Desert</a>

  • Origin: <a href="http://www-llb.cea.fr/">LLB</a>

  • Date: 2007

Description

Models an elliptical mirror. The reflectivity profile is given by a 2-column reflectivity free text file with format [q(Å-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)

Input parameters

Parameters in boldface are required; the others are optional.

Name

Unit

Description

Default

reflect

q(Å\(^{-1}\) R(0-1)

(str) Reflectivity file name. Format

0

focus

m

focal length (m)

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

Å\(^{-1}\)

Critical scattering vector

0.0219

alpha

Å

Slope of reflectivity

6.07

m

1

m-value of material. Zero means completely absorbing.

1.0

W

Å\(^{-1}\)

Width of supermirror cut-off

0.003

Links

  • Component source code found in file Mirror_Elliptic.comp.


Last Modified: Tuesday, 06-Oct-2026 21:19:10 CEST
Search website mailinglist archive GitHub repos