Write neutron state parameters to VITESS neutron filename.
Author: Kristian Nielsen
Date: June 6, 2000
E. Farhi, Sep 28th, 2001: added spin
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
Example: Vitess_output(filename="MySource.vit", bufsize = 10000, progress = 1)
This component will NOT work with parallel execution (MPI).
Parameters in boldface are required;
the others are optional.
Filename of neutron file to write. Default is standard