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)


McStas: Mirror_validation

[ Identification | Description | Input parameters | Links ]

The Mirror_validation Instrument

Comparison of Mirror component and Union version

Identification

  • Site: ESS
  • Author: Mads Bertelsen (mads.bertelsen@ess.eu)
  • Origin: ESS
  • Date: October 2025

Description

Comparison of Mirror component and a similar system made with Union components
though with a key difference that a substrate is simulated which results in two
effects: At large angles where no reflection occur, there will be some intensity
from the scattering in the substrate. At very small angles, the reflectivity can
exceed the R0 of the mirror coating, as the ray can be reflected by the Ni
substrate. NCrystal is used to simulate the Ni substrate.
The instrument includes a detector that ignores scattered rays, which should
produce identical results for large angles, though there can still be a tiny
discrepancy at small angles especially if R0 of the mirror coating is lowered.

Example: mcrun Mirror_validation.instr angle=0.7

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
angledegRotation of sample0.4
ref_component10 to use Union components, 1 for reference Mirror component0
R0_value1Low-angle reflectivity0.99
m_value1m-value of material3
Qc_valueAA-1Critical scattering vector0.0219
alpha_valueAASlope of reflectivity6.07
W_valueAA-1Width of supermirror cut-off0.003

Links

  • Source code for Mirror_validation.instr.
  • A reference/HTML link for more information

[ Identification | Description | Input parameters | Links ]

Generated for mcstas 3.6.1


Last Modified: Friday, 12-Dec-2025 12:58:05 CET
Search website mailinglist archive GitHub repos