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: Pol_guide_mirror Component

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

The Pol_guide_mirror Component

Polarising guide with a supermirror along its diagonal.


  • Author: Erik B Knudsen
  • Origin: DTU Physics
  • Date: July 2018
  • Version:(Unknown)


Based on Pol_guide_vmirror by P. Christiansen.
Models a rectangular guide with entrance centered on the Z axis and
with one supermirror sitting on the diagonal inside.
The entrance lies in the X-Y plane.  Draws a true depiction
of the guide with mirror and trajectories.
The polarisation is handled similar to in Monochromator_pol.
The reflec functions are handled similar to Pol_mirror.
The up direction is hardcoded to be along the y-axis (0, 1, 0)

Note that this component can also be used as a frame overlap-mirror
if the up and down reflectivities are set equal. In this case the wall
reflectivity (rPar) should probably be set to 0.

Reflectivity values can either come from datafiles or from
sets of parameters to the standard analytic reflectivity function commonly
used for neutron guides:
 R=R0; q

Input parameters



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

Generated automatically by McDoc, Peter Willendrup <> / Wed Jan 12 15:13:20 2022

Last Modified: Wednesday, 12-Jan-2022 16:13:20 CET
Search website mailinglist archive GitHub repos