-
Notifications
You must be signed in to change notification settings - Fork 212
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 QElmerRenderer #882
Add QElmerRenderer #882
Conversation
- 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
- environment.yml - requirements.txt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GREAT JOB to both @diemilio and @AbeerVaishnav13
@@ -222,6 +244,52 @@ def test_renderer_qansysrenderer_default_setup(self): | |||
self.assertEqual(default_setup['q3d']['solution_order'], 'High') | |||
self.assertEqual(default_setup['q3d']['solver_type'], 'Iterative') | |||
|
|||
def test_renderer_qelmer_renderer_default_setup(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for adding tests.
Can you merge the latest from main into your branch for pull request? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, great work!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great Job.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, excellent job!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
What are the issues this pull addresses (issue numbers / links)?
Fixes #881
Summary
Adds ElmerFEM to available renderers in qiskit-metal.
Details
Submitting this as a draft PR. The following items need to be completed before merging:
BiCGstabl Polynomial Degree
parameter to avoid duplicate.elmer_renderer.py
.elmer_runner.py
.QGmshRenderer
to inform user if items inopen_pins
list don't exist.QElmerRenderer
MultiPlanar
class.AddQElmerRenderer
options toQAnalysis
classAdditional Comments
assign_nets
function insideQElmerRenderer
works properly but probably needs refactoring since it inefficiently scans through different geometries assign nets and it has grown so much it makes the code difficult to read.QElmerRenderer
toQAnalysis
as part of this PR. This has to be done later on when LOM2.0 gets integrated.