McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics NEXMAP

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding
 Screenshots

Download
 Components
 Linux Install (deb/rpm)
 Mac OS X Install
 Unix Install (src code)
 Windows Install
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 McStas manual
 FAQ
 Known problems
 Publications
 C Compilers
 Other
 Tools
 Tutorial

Workshops/conferences

Developments

Links

Report bugs

Git

McStas Ubuntu live-dvd


McStas: Progress_bar Component

[ Identification | Description | Input parameters | Output parameters | Links ]

The Progress_bar Component

A simulation progress bar

Identification

  • Author: Emmanuel Farhi
  • Origin: ILL
  • Date: 2002
  • Version: $Revision$

Description

An indicator of the progress of the simulation, monitoring
the Init, Trace with the achieved percentage, and the Finally section.
Intermediate savings (e.g. triggered by USR2 signal) are also shown.
This component should be positioned at the very begining of the instrument
The profile option will save the intensity and number of events for each
component It may be used to evaluate the simulation efficiency.

Example: Progress_bar(percent=10,flag_save=1) AT (0,0,0)

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
profile str file name to save the simulation profile if set to "", it is set to the name of the instrument. "NULL"
percent 0-100 percentage interval between updates. Default is 10%. 10
flag_save 0|1 flag to enable intermediate saving for all monitors 0
minutes min time in minutes between updates (Overrides percent flag). 0

Output parameters

Name Unit Description Default
IntermediateCnts  
StartTime  
EndTime  
CurrentTime  

Links


[ Identification | Description | Input parameters | Output parameters | Links ]

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Fri Mar 17 20:40:06 2017


Last Modified: Friday, 17-Mar-2017 21:40:06 CET
Search website mailinglist archive GitHub repos