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: Test_Conics_pairs

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

The Test_Conics_pairs Instrument

Unit test instrument for Conics Pairs components

Identification

  • Site: Tests_optics
  • Author: Erik B Knudsen (erkn@fysik.dtu.dk)
  • Origin: DTU Physics
  • Date: Dec '21

Description

* Example instrument that shows some ways of using the Conics pair components

*

Examples

(Test cases in bold)
  • Test: Test_Conics_pairs OPTIC=1 Detector: psd_i_I=6.91402e-13
  • * %Example: Test_Conics_pairs OPTIC=1 Detector: psd_i_reflections_2_I=6.91402e-13
  • * %Example: Test_Conics_pairs OPTIC=2 fs=100000 Detector: psd_i_I=2.85546e-21
  • * %Example: Test_Conics_pairs OPTIC=2 fs=100000 Detector: psd_i_reflections_2_I=2.85515e-21
  • * %Example: Test_Conics_pairs OPTIC=3 Detector: psd_i_I=6.91402e-13
  • * %Example: Test_Conics_pairs OPTIC=4 ssize=1e-4 Detector: psd_i_I=8.66267e-09
  • * %Example: Test_Conics_pairs quadratic=1 Detector: psd_i_I=5.03026e-13
  • * %Example: Test_Conics_pairs quadratic=1 fs=8 fi=6 Detector: psd_i_I=1.26085e-12
  • * %Example: Test_Conics_pairs OPTIC=2 quadratic=1 fs=100000 Detector: psd_i_I=2.09716e-21
  • * %Example: Test_Conics_pairs OPTIC=3 quadratic=1 Detector: psd_i_I=5.03026e-13
  • * %Example: Test_Conics_pairs OPTIC=3 quadratic=1 fs=8 fi=6 Detector: psd_i_I=9.00287e-13
  • * %Example: Test_Conics_pairs OPTIC=4 quadratic=1 ssize=1e-4 Detector: psd_i_I=6.56678e-09

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
OPTIC Flag to choose between 1: EH pair, 2: PH pair, 3: HE pair, 4: PP pair1
ssizemSource radius1e-6
fsmDistance betwee nsource and optic mid plane10
fimDistance between optics mid plane and focal point.10
R01Mirror substrate reflectivity0.99
m1m-value of supermirrors3
WAA^-1Width of supermirror cut-off0.003
alphaAASlope of reflectivity for reflectivity curve approximation6.07
nshells1Number of Wolter-optic shells4
rminmRadius of the innermost shell0.0031416
rmaxmRadius of the outermost shell0.05236
quadratic Use the quadratic shell-radius mode instead of the radii vector0

Links


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

Generated for mcstas 3.9.2


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