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: File

[ Identification | Description | Input parameters | Links ]

The File Component

File.comp - allows to generate instrument/component input-files from METADATA blocks

Identification

  • Site:
  • Author: Greg Tucker
  • Origin: ESS
  • Date: 2024

Description

File.comp - allows to generate instrument/component input-files
from METADATA blocks - see test_File.instr for an example.

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
filenamestringFilename for output-file generated from metadata block0
metadatakeystringMETADATA-key for looking up file content (may belong to File instance or another comp)
keep1Flag to indicate if file should be kept post-simulation0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

Generated on mcstas 3.5.24


Last Modified: Monday, 07-Apr-2025 07:02:08 CEST
Search website mailinglist archive GitHub repos