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)


The Pol_SF_ideal McStas Component

7.4  The Pol_SF_ideal McStas Component

Pol_SF_ideal component

Identification

  • Author:

  • Origin:

  • Date:

Description

This component simply mirrors the polarization vector of the neutron ray in the plane through (0,0,0) with normal nx,ny,nz. The flipper is surrounded by a perfectly absorbing box. Neutron rays not hitting the box are left untouched.

Input parameters

Parameters in boldface are required; the others are optional.

Name

Unit

Description

Default

nx

x-component of the normal vector of the flipping plane.

0

ny

y-component of the normal vector of the flipping plane.

1

nz

z-component of the normal vector of the flipping plane.

0

xwidth

m

width of the spin flipper.

0.1

yheight

m

height of the spin flipper.

0.1

zdepth

m

length of the spin flipper.

0.1

Links

  • Component source code found in file Pol_SF_ideal.comp.


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