McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics NEXMAP

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding

Download
 Components
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 McStas manual
 Publications

Workshops/conferences

Developments

Links <- UPDATED!

Report bugs

Git


McStas: Vitess_input Component

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

The Vitess_input Component

Read neutron state parameters from VITESS neutron filename.

Identification

  • Author: Kristian Nielsen
  • Origin: Risoe/ILL
  • Date: June 6, 2000
  • Version:(Unknown)
  • Modification history:
    • E. Farhi, Sep 28th, 2001: added spin

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.
Name Unit Description Default
filename string Filename of neutron file to read. Default (NULL) is standard input. Empty string "" unactivates component 0
bufsize records Size of neutron input buffer 10000
repeat_count 1 Number of times to repeat each neutron read 1

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Fri May 7 10:17:14 2021


Last Modified: Friday, 07-May-2021 12:17:14 CEST
Search website mailinglist archive GitHub repos