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
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)


McStas: Unittest_SEARCH

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

The Unittest_SEARCH Instrument

SEARCH unittest

Identification

  • Site: Tests_grammar
  • Author: Thomas Kittelmann
  • Origin: ESS
  • Date: 2026

Description

SEARCH unittest: the monitor component (Unittest_SEARCH_Monitor) is only
found via the SEARCH statement for the localcomps/ subdirectory.

Examples

(Test cases in bold)
  • Test: frac=1 Detector: mon_I=1.99
  • Test: frac=0.5 Detector: mon_I=0.995

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
frac1Fraction of the beam area covered by the monitor1

Links


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

Generated for mcstas 3.9.2


Last Modified: Tuesday, 06-Oct-2026 21:19:11 CEST
Search website mailinglist archive GitHub repos