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


About McStas
 Conditions of use
 Project funding

 Other Downloads (share)

Mailing list

Search web/mailinglist

 Wiki (GitHub)
 McStas manual


Report bugs (GitHub)

Code-repository (GitHub)

McStas: Conics_EH

[ Identification | Description | Input parameters | Links ]

The Conics_EH Component


  • Site:
  • Author: Peter Wilendrup and Erik Knudsen
    (derived from Giacomo Resta skeleton-component)
  • Origin: DTU
  • Date:


Implements a set of nshells Wolter Ellipsoid/Hyperboloid pairs using conics.h from ConicTracer.
The shell are evenly spaced between rmin and rmax (inclusive). The mirrors are assumed to be touching
at the mid-optic plane, i.e. there is no gap between primary and secondary mirror.
By definition the ratio between primary and secondary mirror glancing angles is 1/3.
At present a single m-value is used for all mirrors.

Input parameters

Parameters in boldface are required; the others are optional.
rminmMidoptic plane radius of innermost mirror pair.0.0031416
rmaxmMidoptic plane radius of outermost mirror pair.0.05236
focal_length_umFocal length (upstream) of the mirror pairs.10
focal_length_dmFocal length (downstream) of the mirror pairs.10
lemParaboloid mirror length.0.25
lhmHyperboloid mirror length.0.25
nshells1Number of nested shells to expect4
m1Critical angle of mirrors as multiples of Ni_c.1
mirr_thickmThickness of mirror shell surfaces - NOT YET IMPLEMENTED0
disk Flag. If nonzero, insert a disk to block the central area within the innermost mirror.1
R01Reflectivity at Low angles for reflectivity curve approximation0.99
QcAA-1Critical scattering vector0.021
WAA-1Width of supermirror cut-off0.003
alphaAASlope of reflectivity for reflectivity curve approximation6.07
transmit1Fraction of statistics to assign to transmitted beam - NOT YET IMPLEMENTED0


[ Identification | Description | Input parameters | Links ]

Generated on 2024-01-03 11:47:43

Last Modified: Wednesday, 03-Jan-2024 19:59:11 CET
Search website mailinglist archive GitHub repos