[ Identification | Description | Input parameters | Output parameters | Links ]
Vitess_input
ComponentSource-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)
Name | Unit | Description | Default |
---|---|---|---|
file | 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 |
Name | Unit | Description | Default |
---|---|---|---|
hfile | |||
ibuf | |||
size | |||
pos | |||
rep | |||
finished | int | Set to 1 when the last neutron has been read |
Vitess_input.comp
.
[ Identification | Description | Input parameters | Output parameters | Links ]
Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Thu Mar 15 18:49:41 2012