Read neutron state parameters from VITESS neutron filename.
Author: Kristian Nielsen
Origin: Risoe/ILL
Date: June 6, 2000
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.
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 |
|
|
|||
|
|
|||
|
|
|||
Component source code found in file Vitess_input.comp.