|
|
|
|
![]() |
![]() |
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
About McStas Documentation |
[ Identification | Description | Input parameters | Links ] The
Source-like component that reads neutron state parameters from an mcpl-file.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Name | Unit | Description | Default | |
| filename | str | Name of neutron mcpl file to read | 0 | |
| polarisationuse | If !=0 read polarisation vectors from file | 1 | ||
| verbose | Print debugging information for the first 10 neutrons read (on the master process) | 0 | ||
| Emin | meV | Lower energy bound. Particles found in the MCPL-file below the limit are skipped | 0 | |
| Emax | meV | Upper energy bound. Particles found in the MCPL-file above the limit are skipped | FLT_MAX | |
| repeat_count | 1 | Replay the contents of the MCPL file this number of times, dividing the event weights by the same number. MUST be combined with _smear options! | 1 | |
| v_smear | 1 | When replaying events, make a flat MC choice within v_smear*V around particle velocity V | 0 | |
| pos_smear | m | When replaying events, make a flat MC choice of position within pos_smear around particle starting position | 0 | |
| dir_smear | deg | When replaying events, make an MC choice of direction within dir_smear around particle direction | 0 | |
| preload | Load particles during INITIALIZE. On GPU preload is forced | 0 | ||
| always_smear | If !=0, also smear the events on their first pass through the file | 0 | ||
| replicate_across_processes | If !=0, with MPI round repeat_count up to a multiple of the number of processes, so that each process runs through the whole file | 0 |
| AT ( | , | , | ) RELATIVE | |||
|---|---|---|---|---|---|---|
| ROTATED ( | , | , | ) RELATIVE |
MCPL_input.comp.
[ Identification | Description | Examples | Input parameters | Links ]
Generated on mcstas 3.10.0