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_input

[ Identification | Description | Input parameters | Links ]

The Vitess_input Component

Read neutron state parameters from VITESS neutron filename.

Identification

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

Description

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

Example: Vitess_input(filename="MySource.vit", bufsize = 10000, repeat_count = 2)

%BUGS
We recommend NOT to use parallel execution (MPI) with this component.

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
filenamestringFilename of neutron file to read. Default (NULL) is standard input. Empty string "" unactivates component0
bufsizerecordsSize of neutron input buffer10000
repeat_count1Number of times to repeat each neutron read1
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