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_lib_metadata

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

The Test_lib_metadata Instrument

Unit test of common/lib/share/metadata-r (the METADATA table accessors), with METADATA of the instrument and of a component instance. Covers lookup by source and by source:name, quoted names with and without spaces, the --meta-list listing, a missing key, and the key "::". The instrument exits in INITIALIZE if any check failed.

Identification

  • Site: libtest
  • Author:
  • Origin:
  • Date:

Description

Tests: mccode-dev/McCode#3180

Examples

(Test cases in bold)
  • Test: Ncount=10 Detector: PSD_I=10

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
Ncount1Number of particles10

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