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

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding
 Screenshots

Download
 Components
 Share

Mailing list

Search web/mailinglist

Documentation
 McStas manual
 FAQ
 Known problems
 Publications
 C Compilers
 Other
 Tutorial

Workshops/conferences

Developments
 Platforms

Links

Report bugs

SVN

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: 1.27

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. 0
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  

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Fri May 11 08:41:08 2012


Last Modified: Friday, 11-May-2012 10:41:08 CEST
Search website freshmeat.net McStas site RSS feed mailinglist archive SVN repos McCode Trac