Skip to content

Commit

Permalink
Final updates for 2.7.7
Browse files Browse the repository at this point in the history
  • Loading branch information
momchil-flex committed Nov 15, 2024
1 parent 3520429 commit 32b1701
Show file tree
Hide file tree
Showing 5 changed files with 192 additions and 18 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.7.7] - 2024-11-15

### Added
- Autograd support for local field projections using `FieldProjectionKSpaceMonitor`.
- Function `components.geometry.utils.flatten_groups` now also flattens transformed groups when requested.
Expand All @@ -20,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Calling `.values` on `DataArray` no longer raises a `DeprecationWarning` during automatic differentiation.
- Minimum number of PML layers set to 6.
- `Structure.background_permittivity : float` for specifying background medium for shape differentiation deprecated in favor of `Structure.background_medium : Medium` for more generality.
- Validate mode objects so that if a bend radius is defined, it is not smaller than half the size of the modal plane along the radial direction (i.e. the bend center is not inside the mode plane).

### Fixed
- Regression in local field projection leading to incorrect projection results.
Expand Down Expand Up @@ -1383,7 +1386,8 @@ which fields are to be projected is now determined automatically based on the me
- Job and Batch classes for better simulation handling (eventually to fully replace webapi functions).
- A large number of small improvements and bug fixes.

[Unreleased]: https://github.com/flexcompute/tidy3d/compare/v2.7.6...develop
[Unreleased]: https://github.com/flexcompute/tidy3d/compare/v2.7.7...develop
[2.7.7]: https://github.com/flexcompute/tidy3d/compare/v2.7.6...v2.7.7
[2.7.6]: https://github.com/flexcompute/tidy3d/compare/v2.7.5...v2.7.6
[2.7.5]: https://github.com/flexcompute/tidy3d/compare/v2.7.4...v2.7.5
[2.7.4]: https://github.com/flexcompute/tidy3d/compare/v2.7.3...v2.7.4
Expand Down
Binary file modified tests/sims/simulation_sample.h5
Binary file not shown.
40 changes: 38 additions & 2 deletions tests/sims/simulation_sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"length": 1.0
},
"name": "traced_dieletric_cylinder",
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -73,6 +74,7 @@
]
},
"name": "traced_dieletric_box",
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -117,6 +119,7 @@
]
},
"name": "traced custom polyslab",
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -152,6 +155,7 @@
]
},
"name": "dieletric_box",
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -184,6 +188,7 @@
]
},
"name": "lossy_box",
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -212,6 +217,7 @@
]
},
"name": "sellmeier_sphere",
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -252,6 +258,7 @@
]
},
"name": "lorentz_box",
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -290,6 +297,7 @@
]
},
"name": null,
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -322,6 +330,7 @@
}
},
"name": null,
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -359,6 +368,7 @@
]
},
"name": "drude_box",
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -396,6 +406,7 @@
]
},
"name": null,
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -472,6 +483,7 @@
]
},
"name": null,
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -522,6 +534,7 @@
]
},
"name": null,
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -592,6 +605,7 @@
]
},
"name": "pec_group",
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -622,6 +636,7 @@
"length": 2.0
},
"name": "anisotopic_cylinder",
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -700,6 +715,7 @@
]
},
"name": "pole_slab",
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -743,6 +759,7 @@
]
},
"name": null,
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -778,6 +795,7 @@
]
},
"name": null,
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -817,6 +835,7 @@
]
},
"name": null,
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -857,6 +876,7 @@
]
},
"name": null,
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -896,6 +916,7 @@
]
},
"name": null,
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -935,6 +956,7 @@
]
},
"name": null,
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -973,6 +995,7 @@
]
},
"name": null,
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -1014,6 +1037,7 @@
]
},
"name": null,
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -1071,6 +1095,7 @@
]
},
"name": null,
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -1135,6 +1160,7 @@
]
},
"name": null,
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -1192,6 +1218,7 @@
]
},
"name": null,
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -1249,6 +1276,7 @@
]
},
"name": null,
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -1299,6 +1327,7 @@
]
},
"name": null,
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -1336,6 +1365,7 @@
]
},
"name": null,
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -1414,6 +1444,7 @@
]
},
"name": null,
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -1452,6 +1483,7 @@
}
},
"name": "dieletric_mesh",
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -1494,6 +1526,7 @@
]
},
"name": null,
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -1545,6 +1578,7 @@
}
},
"name": "clip_operation",
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -1607,6 +1641,7 @@
]
},
"name": "transformed_box",
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand Down Expand Up @@ -2842,6 +2877,7 @@
]
},
"name": null,
"background_permittivity": null,
"background_medium": null,
"type": "Structure",
"medium": {
Expand All @@ -2861,10 +2897,10 @@
"snapping_points": [],
"type": "GridSpec"
},
"version": "2.7.6",
"version": "2.7.7",
"lumped_elements": [],
"subpixel": false,
"simulation_type": null,
"simulation_type": "tidy3d",
"post_norm": 1.0,
"courant": 0.8,
"normalize_index": 0,
Expand Down
Loading

0 comments on commit 32b1701

Please sign in to comment.