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
 McStas manual
 Known problems
 Publications

Workshops/conferences

Developments

Links <- UPDATED!

Report bugs

Git


McStas: Pol_Bfield_stop Component

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

The Pol_Bfield_stop Component

Magnetic field component.

Identification

  • Author: Erik B Knudsen, Peter Christiansen, and Peter Willendrup
  • Origin: RISOE
  • Date: August 2006
  • Version:(Unknown)

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

// HERE CAN BE OTHER COMPONENTS INSIDE THE MAGNETIC FIELD

// 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.
Name Unit Description Default
geometry ""
yheight 0
xwidth 0
zdepth 0
radius 0

Output parameters

Name Unit Description Default
prms  

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Fri Oct 11 07:30:14 2019


Last Modified: Friday, 11-Oct-2019 09:30:14 CEST
Search website mailinglist archive GitHub repos