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

McStas
site 2

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

[ Identification | Description | Input parameters | Links ]

The Test_Magnetic_Userdefined Instrument

This instrument demonstrates how to use the Pol_Bfield component with a user-specified fieldFunction.

Identification

  • Site: Tests_polarization
  • Author: Peter Christiansen and Peter Willendrup
  • Origin: RISOE
  • Date: August 2006

Description

This instrument demonstrates how to use the component
Pol_Bfield with a user-specified fieldFunction.

The fieldFunction is specified in the DECLARE section and defined active
using the fieldFunction parameter of the component. The example fieldFunction
is timedependent (velocity-dependent), setting a B-field that will rotatate
the neutron spins by PI.

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault

Links


[ Identification | Description | Input parameters | Links ]

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


Last Modified: Tuesday, 17-Sep-2024 05:31:14 CEST
Search website mailinglist archive GitHub repos