|
Sets a progress interval to use for the top-level progress and display message at that level. The top level will go from intervalStart to intervalEnd as the second level goes from 0 to 100. As the second level increases, the top level is increased by (intervalEnd - intervalStart) * (second level progress (0-100) / 100).
The value for intervalStart must be between 0 and intervalEnd, and the value for intervalEnd must be between intervalStart and 100.
|
||
|
Sets a value for the user-controlled progress level. By default, this is the top level, but if a progress interval is active (setProgressInterval has been called and resetProgress has not been called after that), then it is the second level.
|
||
|
Same as setProgress(message, value), but uses the latest message or an empty string (if no message has been set).
|
||
|
Removes all progress levels and resets progress to 0 and the message to an empty string.
|
||
|
Shows a progress dialog with an indeterminate progress bar, given message and a cancel button.
|
||
|
Shows a progress dialog with an indeterminate progress bar, given message and an optional cancel button.
|
||
|
Resets the value of the given progress bar form object name to 0. The progress bar to control can be specified with an absolute path, such as form1/progressbar1, or a name relative to the context from which the method was called.
|
||
|
Sets the value of the given progress bar form object name in the range 0-100 and the associated progress message. Values out of range are converted to 0 or 100. The progress bar to control can be specified with an absolute path, such as form1/progressbar1, or a name relative to the context from which the method was called.
|
||
|
•
|
Computing several studies as well as evaluating several plots. Call setProgressInterval before each call to the built-in methods with an interval that approximates how much time each model computation takes. For example:
|
|
•
|
Combining one or more calls to built-in COMSOL methods with custom methods that in themselves take significant time. In this case, use setProgressInterval as in the previous example, followed by your own custom code with appropriate calls to setProgress. These calls should run from 0 to 100 as they are controlling the second progress level. For example:
|