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

The Vitess_input Component

Read neutron state parameters from VITESS neutron file.

Identification

Description

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

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

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
file string Filename of neutron file to read. Default is standard input 0
bufsize 10000
repeat_count 1

Output parameters

Name Unit Description Default
hfile  
buf  
size  
pos  
rep  
finished int Set to 1 when the last neutron has been read  

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Feb 28 2006