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

extra geometries for 2d material #1644

Merged
merged 1 commit into from
May 9, 2024

Conversation

dmarek-flex
Copy link
Contributor

@dmarek-flex dmarek-flex commented Apr 26, 2024

Added the ability for Transformed/GeometryGroup/ClipOperation geometries to be composed of 2D materials.

Solves issue 576

@dmarek-flex dmarek-flex self-assigned this Apr 26, 2024
@dmarek-flex dmarek-flex added improvement awaiting backend not to be merged as backend is not finalized labels Apr 26, 2024
@dmarek-flex dmarek-flex force-pushed the dmarek/extra_geometries_for_2d_material branch 4 times, most recently from 92b5959 to 780a925 Compare May 1, 2024 14:44
Copy link
Collaborator

@tylerflex tylerflex left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks @dmarek-flex. One minor question

tidy3d/components/geometry/utils_2d.py Outdated Show resolved Hide resolved
@dmarek-flex dmarek-flex force-pushed the dmarek/extra_geometries_for_2d_material branch from 780a925 to 70055dc Compare May 3, 2024 20:03
Copy link
Collaborator

@weiliangjin2021 weiliangjin2021 left a comment

Choose a reason for hiding this comment

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

Nice work! All look good.

@dmarek-flex dmarek-flex force-pushed the dmarek/extra_geometries_for_2d_material branch from 70055dc to 54a135d Compare May 7, 2024 20:15
@dmarek-flex dmarek-flex force-pushed the dmarek/extra_geometries_for_2d_material branch from 54a135d to 4b5c717 Compare May 8, 2024 20:25
@dmarek-flex dmarek-flex requested a review from tylerflex May 8, 2024 20:33
@dmarek-flex
Copy link
Contributor Author

I made the modifications that @tylerflex suggested in the coaxial ports PR

@dmarek-flex dmarek-flex force-pushed the dmarek/extra_geometries_for_2d_material branch 3 times, most recently from 7894b82 to aeb2594 Compare May 8, 2024 21:41
Copy link
Collaborator

@tylerflex tylerflex left a comment

Choose a reason for hiding this comment

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

Looks much better I think! Thanks @dmarek-flex. Couple minor comments

CHANGELOG.md Outdated Show resolved Hide resolved
tidy3d/components/geometry/base.py Outdated Show resolved Hide resolved
tidy3d/components/geometry/polyslab.py Outdated Show resolved Hide resolved
added validation tests for structures with 2d materials and methods for updating bounds of certain geometries
@dmarek-flex dmarek-flex force-pushed the dmarek/extra_geometries_for_2d_material branch from aeb2594 to d78268a Compare May 9, 2024 15:03
@dmarek-flex
Copy link
Contributor Author

Thanks @tylerflex for finding those lingering issues. I'll merge this when all tests pass.

@dmarek-flex dmarek-flex merged commit 2b18197 into pre/2.7 May 9, 2024
16 checks passed
@dmarek-flex dmarek-flex deleted the dmarek/extra_geometries_for_2d_material branch May 9, 2024 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting backend not to be merged as backend is not finalized
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants