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

Gmsh renderer #815

Merged
merged 77 commits into from
Aug 12, 2022
Merged

Gmsh renderer #815

merged 77 commits into from
Aug 12, 2022

Conversation

AbeerVaishnav13
Copy link
Collaborator

@AbeerVaishnav13 AbeerVaishnav13 commented Jul 15, 2022

What are the issues this pull addresses (issue numbers / links)?

#814

Did you add tests to cover your changes (yes/no)?

Yes

Did you update the documentation accordingly (yes/no)?

Yes

Did you read the CONTRIBUTING document (yes/no)?

Yes

Summary

Adding feature to render Qiskit Metal design in Gmsh. Use case for this feature is specified in detail in the related issue #814 .

Details and comments

This pull request might require series of reviews before finalizing and merging the changes. Forth-coming changes include:

  • Support for 3D metal bodies instead of using 2D metal sheets
  • Method to take screenshots of the generated geometry and mesh
  • Using QGmshRenderer to connect with QElmerRenderer (done through a separate pull request)

Abeer Vaishnav and others added 22 commits June 15, 2022 17:05
- Gradient based mesh size fields
- Functionality for user to define their own mesh size field function
- Used already present toolbox functions instead of making my own
- TODO: recombine this with Vector in draw/utility.py
- Changed the renderer to use the new 3D vector in `qiskit_metal/draw/utility.py`
- Used bad_fillet_idxs in `toolbox_python/utility_functions.py` to selectively fillet vertices
- Removed unused code
- Added helpful TODO comments
- Added physical group for each chip
@AbeerVaishnav13 AbeerVaishnav13 linked an issue Jul 15, 2022 that may be closed by this pull request
environment.yml Outdated Show resolved Hide resolved
- Updated notebook
- Bug fix for segmendted ground plane rendering
@AbeerVaishnav13 AbeerVaishnav13 marked this pull request as ready for review August 12, 2022 17:03
@AbeerVaishnav13 AbeerVaishnav13 removed the request for review from obrienpja August 12, 2022 17:03
Copy link
Collaborator

@priti-ashvin-shah-ibm priti-ashvin-shah-ibm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, GREAT JOB!

qiskit_metal/renderers/renderer_gmsh/gmsh_renderer.py Outdated Show resolved Hide resolved
@AbeerVaishnav13 AbeerVaishnav13 merged commit ecd0b5a into main Aug 12, 2022
@AbeerVaishnav13 AbeerVaishnav13 deleted the gmsh_renderer branch August 12, 2022 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add feature to render in Gmsh
4 participants