Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add progress handler to simulate methods #315

Closed
pkrull-ansys opened this issue Mar 21, 2024 · 0 comments · Fixed by #346
Closed

Add progress handler to simulate methods #315

pkrull-ansys opened this issue Mar 21, 2024 · 0 comments · Fixed by #346
Labels
enhancement New features or code improvements

Comments

@pkrull-ansys
Copy link
Collaborator

pkrull-ansys commented Mar 21, 2024

📝 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or code improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant