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

adapt to AWS lambda environment #1099

Closed
wants to merge 68 commits into from
Closed

Conversation

QingengWei
Copy link

No description provided.

momchil-flex and others added 30 commits July 14, 2023 12:20
Signed-off-by: Lucas Heitzmann Gabrielli <lucas@flexcompute.com>
Added reference for Germanium material model from Burnett et al.
* Use pytest's tmp path instead of hard-codded ones

Hard-codded paths can be an issue when tests are run in parallel or
unordered, particularly in Windows. This commit removes all hard-codded
paths from the test suite, replacing them with pytest's tmp_path
fixture, which is also automatically cleaned after run.

A few ruff warnings were also cleaned up in the process: mostly unused
imports and variables, and warnings caused by a large number of
matplotlib figures being created.

---------

Signed-off-by: Lucas Heitzmann Gabrielli <lucas@flexcompute.com>
lucas-flexcompute and others added 28 commits August 16, 2023 09:48
Also, allow GeometryGroup to accept GeometryGroup instances as group
elements. That's because ClipOperation must accept them as operands, so
it makes sense to extend the support to GeometryGroup, since the backend
code is already in place.

Importing a general gds file requires the implementation of
`ComplexPolySlab`, but the plugin implementation depends on `Medium` and
`Structure` for the `to_structure` method, so it cannot be simply
refactored into the geometry namespace. The solution was to have a
base class without the problematic method in geometry, which can be used
to import gds files.

Signed-off-by: Lucas Heitzmann Gabrielli <lucas@flexcompute.com>
Only `GeometryType` and `from_shapely` remain as problematic objects
beacuse they require cyclic imports.

Signed-off-by: Lucas Heitzmann Gabrielli <lucas@flexcompute.com>
Use the same grid size for both when loading vertices from GDSII, and
apply dilations in the same manner to avoid unexpected differences due
to operation order.

Signed-off-by: Lucas Heitzmann Gabrielli <lucas@flexcompute.com>
Signed-off-by: Lucas Heitzmann Gabrielli <lucas@flexcompute.com>
Fixes the issue raised in
flexcompute/tidy3d-core#375 (comment)
by looking for geometry datasets in nested geometries.

Error if a structure contains a large number of nested geometries, as
preprocessing performance in the backend degrades rapidly in this case.

Signed-off-by: Lucas Heitzmann Gabrielli <lucas@flexcompute.com>
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.