Package mbdyn :: Package bindings :: Module main :: Class ProgressBar
[hide private]

Class ProgressBar

source code

The MBDyn progress bar. Used for displaying the Solver advance and based on the progress bar defined in mbdyn.bindings.progressbar.

Instance Methods [hide private]
 
__init__(self, final_time=None) source code
 
create_for(self, final_time)
Create a progress bar according to the final time
source code
 
update(self, current_time)
Update the progress bar
source code
 
stand_by(self, current_time)
Pause the progress bar at the time given.
source code
 
restart(self, current_time)
Will write a new bar in the console
source code
 
destroy(self)
End of the progress bar
source code
Method Details [hide private]

stand_by(self, current_time)

source code 
Pause the progress bar at the time given. The bar will be seen in the console.