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

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

[ Identification | Description | Input parameters | Links ]

The Pol_Bfield_stop Component

Magnetic field component.

Identification

  • Site:
  • Author: Erik B Knudsen, Peter Christiansen, and Peter Willendrup
  • Origin: RISOE
  • Date: August 2006

Description

End of magnetic field region defined by the latest preceeding Pol_Bfield component.

The component is concentric. It means that it requires a

// START MAGNETIC FIELD
COMPONENT msf =
Pol_Bfield(xw=0.08, yh=0.08, length=0.2, Bx=0, By=-0.678332e-4, Bz=0)
AT (0, 0, 0) RELATIVE armMSF

// OTHER COMPONENTS INSIDE THE MAGNETIC FIELD CAN BE PLACED HERE

// STOP MAGNETIC FIELD
COMPONENT msfCp = Pol_Bfield_stop()
AT ("SOMEWHERE") RELATIVE armMSF

In between the two components the propagation routine
PROP_DT also handles the spin propagation.
The current algorithm used for spin propagation is:
SimpleNumMagnetPrecession
in pol-lib.
and does not handle gravity.

GRAVITY: NO
POLARISATION: YES

Example: Pol_Bfield_stop()

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
geometry""
yheight0
xwidth0
zdepth0
radius0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

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


Last Modified: Tuesday, 16-Apr-2024 20:05:22 CEST
Search website mailinglist archive GitHub repos