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

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)



McStas: Test_SiC

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

The Test_SiC Instrument

Reflectometry cross-check of SiC against Multilayer_Sample.

Identification

  • Site: Tests_samples
  • Author: Peter Willendrup
  • Origin: DTU
  • Date: November 2026

Description

A white, near-parallel beam hits a flat sample at grazing angle theta. The
reflectivity is R(lambda) = L_out/L_in with q = 4 pi sin(theta)/lambda.
SiC (sample=0) uses the Born approximation for its built-in 80 AA layer on Si;
Multilayer_Sample (sample=1) uses the exact Parratt formalism for the same
profile. Both reproduce their analytic curves; the Born approximation is
20-35% below Parratt for q up to about 0.06 AA^-1. Non-reflected neutrons are
absorbed.

Examples

(Test cases in bold)
  • Test: sample=0 Detector: L_out_I=1.23219e-12
  • Test: sample=1 Detector: L_out_I=1.69897e-12

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
sample10: SiC, 1: Multilayer_Sample0
thetadegGrazing angle of incidence1
LmSample length along the beam0.2

Links


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

Generated for mcstas 3.10.5


Last Modified: Wed Dec 2 00:25:28 2026
Search website mailinglist archive GitHub repos