Skip to content

Added method to create dynamic link subcircuit valid for Q3d, Q2d and HFSS #832

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

Merged
merged 8 commits into from
Feb 7, 2022

Conversation

maxcapodi78
Copy link
Collaborator

No description provided.

@codecov
Copy link

codecov bot commented Feb 7, 2022

Codecov Report

Merging #832 (31ee4d9) into main (a67bc2b) will increase coverage by 0.21%.
The diff coverage is 98.98%.

@@            Coverage Diff             @@
##             main     #832      +/-   ##
==========================================
+ Coverage   77.10%   77.32%   +0.21%     
==========================================
  Files         127      128       +1     
  Lines       34392    34646     +254     
==========================================
+ Hits        26518    26790     +272     
+ Misses       7874     7856      -18     

model_type=pyaedt_app.design_type,
variables=variables,
extrusion_length_q2d=extrusion_length,
matrix=matrix,
Copy link
Collaborator

@MaxJPRey MaxJPRey Feb 7, 2022

Choose a reason for hiding this comment

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

@maxcapodi78 I might be wrong but is seems that matrix will always be None, as it is set to None line 1210 and never changed after that. Is it expected?
So maybe we could get rid of the line 1210.

Copy link
Member

Choose a reason for hiding this comment

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

@maxcapodi78 , I agree with @MaxJPRey, matrix should be obtained before the call of _add_subcircuit_link(...), I think with the new PR (#834) this should be accessible

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

you are both right. but the matrix is gonna be filled with my other PR. I've prepared the method with variable and then I'll use such variable once Matrix is there

@maxcapodi78 maxcapodi78 merged commit 69cc793 into main Feb 7, 2022
@maxcapodi78 maxcapodi78 deleted the Enhancement/dynamic_link_q3d branch February 7, 2022 16:38
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.

3 participants