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
 Screenshots

Download
 Components
 Linux Install (deb/rpm)
 Mac OS X Install
 Unix Install (src code)
 Windows Install
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 McStas manual
 FAQ
 Known problems
 Publications
 C Compilers
 Other
 Tools
 Tutorial

Workshops/conferences

Developments

Links

Report bugs

Git

McStas Ubuntu live-dvd


McStas: Vitess_output Component

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

The Vitess_output Component

Write neutron state parameters to 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

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.
Name Unit Description Default
filename string Filename of neutron file to write. Default is standard output 0
bufsize records Size of neutron output buffer 10000
progress flag If not zero, output dots as progress indicator 0

Output parameters

Name Unit Description Default
hfile  
obuf  
pos  
p_out  
p2_out  

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Mon Jun 26 12:27:17 2017


Last Modified: Monday, 26-Jun-2017 14:27:17 CEST
Search website mailinglist archive GitHub repos