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

[ Identification | Description | Input parameters | Links ]

The Vitess_output Component

Write neutron state parameters to VITESS neutron filename.

Identification

  • Site:
  • Author: Kristian Nielsen
  • Origin: Risoe/ILL
  • Date: June 6, 2000

Description

Detector-like component writing neutron state parameters to a
VITESS neutron filename. Used to interface McStas components or
simulations into VITESS. Each neutron is 104 bytes.

Note that when standard output is used, as is the default, no
monitors or other components that produce terminal output must be
used, or the neutron output from this component will become
corrupted.

Example: Vitess_output(filename="MySource.vit", bufsize = 10000, progress = 1)

%BUGS
This component will NOT work with parallel execution (MPI).

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
filenamestringFilename of neutron file to write. Default is standard output0
bufsizerecordsSize of neutron output buffer10000
progressflagIf not zero, output dots as progress indicator0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ 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