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_Pol_bender_tapering

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

The Test_Pol_bender_tapering Instrument

Cross-check of Pol_bender_tapering against Pol_bender.

Identification

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

Description

Compares Pol_bender_tapering (bender=1) with Pol_bender (bender=0) for a single
untapered channel with absorbing top and bottom walls and non-polarising m=2
side walls. Pol_bender uses the analytic reflectivity, Pol_bender_tapering a
tabulated copy of it (Test_Pol_bender_tapering_reflect.dat) and the mock
channel file Test_Pol_bender_tapering_channel.dat. A large entry_radius
approximates the flat entry of Pol_bender. Gravity is off in both.

Examples

(Test cases in bold)
  • Test: bender=1 Detector: psd_I=0.0189025
  • Test: bender=0 Detector: psd_I=0.0188785

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
bender11: Pol_bender_tapering, 0: Pol_bender1
guideLengthmBender length2
guideRadiusmBender radius of curvature50

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