Add progress handler to `simulate` methods
pkrull-ansys opened this issue Β· comments
π Description of the feature
A progress handler is responsible for displaying progress information to the user. Different scenarios require different progress displays. For instance, an application with a graphical user interface will display progress differently than a command line application.
π‘ Steps for implementing the feature
Create an IProgress interface class that can be inherited from. IProgress must include a method to update progress. This method should include the following information.
- running state
- percent complete
- context
- error message, if error occurred
- status message, if available
A progress handler parameter needs to be added to simulate()
and _simulate()
in methods on the Additive
object and to run_simulations()
on the ParametricStudy
object.
π Useful links and references
No response