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

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding

Download
 Components

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)



McStas: Test_AF_HB_1D

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

The Test_AF_HB_1D Instrument

Test of the Union AF_HB_1D_process (1D antiferromagnetic Heisenberg chain)

Identification

  • Site: Tests_union
  • Author: Peter Willendrup
  • Origin: DTU
  • Date: November 2026

Description

A monochromatic beam travels along the chain axis (z) into a Union cylinder
with only the AF_HB_1D process. A 4pi Monitor_nD records the final energy
against the final kz, so the energy transfer w = Ei - E and the chain
momentum transfer q*a = (ki - kz)*atom_distance can be read off directly.
All scattering must lie inside the spinon continuum
(pi/2) J |sin(q a)| <= w <= pi J |sin(q a / 2)|
for single scattering. This was checked with unit_cell_volume=10000; at the
default density some multiple scattering falls outside the continuum.
The process integrates S(q,w) numerically for every ray, so the test is slow.

Examples

(Test cases in bold)
  • Test: Ncount=100000 Detector: Sqw_I=5.32e-15

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
EimeVIncident energy20
JmeVExchange constant10
atom_distanceAADistance between atoms in the chain3
Ncount1Number of rays, overrides -n when set (used by the test)0

Links


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

Generated for mcstas 3.10.5


Last Modified: Wed Dec 2 00:25:28 2026
Search website mailinglist archive GitHub repos