|
|
|
|
![]() |
![]() |
![]() | |||||||||||||||||||||||||
|
About McStas Download Documentation |
11.6 Progress_bar: Simulation progress and automatic saving
This component displays the simulation progress and status but does not affect the neutron parameters. The display is updated in regular intervals of the full simulation; the default step size is 10 %, but it may be changed using the percent parameter (from 0 to 100). The estimated computation time is displayed at the begining and actual simulation time is shown at the end. Additionally, setting the flag_save to 1 results in a regular save of the data files during the simulation. This means that is is possible to view the data before the end of the computation, and have also a trace of it in case of computer crash. The achieved percentage of the simulation is stored in these temporary data files. Technically, this save is equivalent to sending regularly a USR2 signal to the running simulation. The optional ’profile’ parameter, when set to a file name, will produce the number of statistical events reaching each component in the simulation. This may be used to identify positions where events are lost. |
||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||