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

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding
 Screenshots

Download
 Components
 Share

Mailing list

Search web/mailinglist

Documentation
 McStas manual
 FAQ
 Known problems
 Publications
 C Compilers
 Other
 Tutorial

Workshops/conferences

Developments
 Platforms

Links

Report bugs

SVN

McStas Ubuntu live-dvd


McStas: <Unknown> Component

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

The Component

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

Identification

  • Author: Peter Christiansen and Peter Willendrup
  • Origin: RISOE
  • Date: August 2006
  • Version: 1.4

Description

This instrument demonstrates how to use the component
Pol_simpleBfield 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.

Example: mcrun Test_Magnetic_Userdefined.instr

Input parameters

None.

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Fri May 11 08:41:09 2012


Last Modified: Friday, 11-May-2012 10:41:09 CEST
Search website freshmeat.net McStas site RSS feed mailinglist archive SVN repos McCode Trac