-
Notifications
You must be signed in to change notification settings - Fork 58
Singularity correction at metallic edges #2498
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
base: develop
Are you sure you want to change the base?
Conversation
c57b1a0
to
e0ca6b6
Compare
Edge correction is now only applied at PEC edges. |
Code Coverage Summary
Diff against develop
Results for commit: e0ca6b6 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Changed Files Coverage
Results for commit: e0ca6b6 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
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.
Frontend looks good
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.
3 files reviewed, 1 comment
Edit PR Review Bot Settings | Greptile
edge_singularity_correction: Literal[False] = pd.Field( | ||
False, | ||
title="Apply Singularity Model At Metal Edges", | ||
description="Apply field correction model at metallic edges where field singularity occurs. " | ||
"The correction is applied to straight edges aligned with the primal grids, and the wedge angle is either " | ||
"0 or 90 degree.", | ||
) |
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.
logic: This forces edge_singularity_correction to False for SurfaceImpedance but the rationale isn't documented. Add comment explaining why this must be False
e0ca6b6
to
b8e9410
Compare
Diff CoverageDiff: origin/develop...HEAD, staged and unstaged changes
Summary
|
Greptile Summary
Added field singularity correction capabilities for Perfect Electric Conductor (PEC) edges in electromagnetic simulations, improving accuracy at metallic boundaries.
edge_singularity_correction
parameter intidy3d/components/subpixel_spec.py
for PECConformal class with default=Truetests/test_components/test_simulation.py
for edge correction behavior