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_Pol_Tabled

[ Identification | Description | Input parameters | Links ]

The Test_Pol_Tabled Instrument

Test the tabled magnetic field option

Identification

  • Site: Tests_polarization
  • Author: Your name (email)
  • Origin: Your institution
  • Date: Current Date

Description

A test instrument to check that supplying a magnetic field as a vector field point cloud
is working. The field referred to by the default input parameter MF is 10 \mu T along the z-axis
at entry and flips to l0 \mu T along the negative z-axis halfway through

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
MFstringField definition file"flipfield.dat"
zdepthmZ-dimension of field1
interpol_methodstringChoice of interpolation method "kdtree" (default on CPU) / "regular" (default on GPU)"default"

Links

  • Source code for Test_Pol_Tabled.instr.
  • A reference/HTML link for more information

[ Identification | Description | Input parameters | Links ]

Generated on 2023-09-19 20:01:36


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