|  
   
     
    
   |  
  
     
     | 
  
      
     | 
  
  ![]()  | 
  
  ![]()  | 
  ![]()  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|  
    About McStas Download 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 first 10 particles read. | 1 | ||
| 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 | Repeat contents of the MCPL file this number of times. NB: When running MPI, repeating is implicit and is taken into account by integer division. Should be combined sith the _smear options! | 1 | |
| E_smear | 1 | When repeating events, make a Gaussian MC choice within E_smear*E around particle energy E | 0 | |
| pos_smear | m | When repeating events, make a flat MC choice of position within pos_smear around particle starting position | 0 | |
| dir_smear | deg | When repeating events, make a Gaussian MC choice of direction within dir_smear around particle direction | 0 | 
| AT ( | , | , | ) RELATIVE | |||
|---|---|---|---|---|---|---|
| ROTATED ( | , | , | ) RELATIVE | 
MCPL_input.comp.
  
[ Identification | Description | Input parameters | Links ]
Generated on 2025-05-08 13:31:31