Skip to content

Commit 32b1701

Browse files
committed
Final updates for 2.7.7
1 parent 3520429 commit 32b1701

File tree

5 files changed

+192
-18
lines changed

5 files changed

+192
-18
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.7.7] - 2024-11-15
11+
1012
### Added
1113
- Autograd support for local field projections using `FieldProjectionKSpaceMonitor`.
1214
- Function `components.geometry.utils.flatten_groups` now also flattens transformed groups when requested.
@@ -20,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2022
- Calling `.values` on `DataArray` no longer raises a `DeprecationWarning` during automatic differentiation.
2123
- Minimum number of PML layers set to 6.
2224
- `Structure.background_permittivity : float` for specifying background medium for shape differentiation deprecated in favor of `Structure.background_medium : Medium` for more generality.
25+
- 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).
2326

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

1386-
[Unreleased]: https://github.com/flexcompute/tidy3d/compare/v2.7.6...develop
1389+
[Unreleased]: https://github.com/flexcompute/tidy3d/compare/v2.7.7...develop
1390+
[2.7.7]: https://github.com/flexcompute/tidy3d/compare/v2.7.6...v2.7.7
13871391
[2.7.6]: https://github.com/flexcompute/tidy3d/compare/v2.7.5...v2.7.6
13881392
[2.7.5]: https://github.com/flexcompute/tidy3d/compare/v2.7.4...v2.7.5
13891393
[2.7.4]: https://github.com/flexcompute/tidy3d/compare/v2.7.3...v2.7.4

tests/sims/simulation_sample.h5

976 Bytes
Binary file not shown.

tests/sims/simulation_sample.json

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"length": 1.0
4242
},
4343
"name": "traced_dieletric_cylinder",
44+
"background_permittivity": null,
4445
"background_medium": null,
4546
"type": "Structure",
4647
"medium": {
@@ -73,6 +74,7 @@
7374
]
7475
},
7576
"name": "traced_dieletric_box",
77+
"background_permittivity": null,
7678
"background_medium": null,
7779
"type": "Structure",
7880
"medium": {
@@ -117,6 +119,7 @@
117119
]
118120
},
119121
"name": "traced custom polyslab",
122+
"background_permittivity": null,
120123
"background_medium": null,
121124
"type": "Structure",
122125
"medium": {
@@ -152,6 +155,7 @@
152155
]
153156
},
154157
"name": "dieletric_box",
158+
"background_permittivity": null,
155159
"background_medium": null,
156160
"type": "Structure",
157161
"medium": {
@@ -184,6 +188,7 @@
184188
]
185189
},
186190
"name": "lossy_box",
191+
"background_permittivity": null,
187192
"background_medium": null,
188193
"type": "Structure",
189194
"medium": {
@@ -212,6 +217,7 @@
212217
]
213218
},
214219
"name": "sellmeier_sphere",
220+
"background_permittivity": null,
215221
"background_medium": null,
216222
"type": "Structure",
217223
"medium": {
@@ -252,6 +258,7 @@
252258
]
253259
},
254260
"name": "lorentz_box",
261+
"background_permittivity": null,
255262
"background_medium": null,
256263
"type": "Structure",
257264
"medium": {
@@ -290,6 +297,7 @@
290297
]
291298
},
292299
"name": null,
300+
"background_permittivity": null,
293301
"background_medium": null,
294302
"type": "Structure",
295303
"medium": {
@@ -322,6 +330,7 @@
322330
}
323331
},
324332
"name": null,
333+
"background_permittivity": null,
325334
"background_medium": null,
326335
"type": "Structure",
327336
"medium": {
@@ -359,6 +368,7 @@
359368
]
360369
},
361370
"name": "drude_box",
371+
"background_permittivity": null,
362372
"background_medium": null,
363373
"type": "Structure",
364374
"medium": {
@@ -396,6 +406,7 @@
396406
]
397407
},
398408
"name": null,
409+
"background_permittivity": null,
399410
"background_medium": null,
400411
"type": "Structure",
401412
"medium": {
@@ -472,6 +483,7 @@
472483
]
473484
},
474485
"name": null,
486+
"background_permittivity": null,
475487
"background_medium": null,
476488
"type": "Structure",
477489
"medium": {
@@ -522,6 +534,7 @@
522534
]
523535
},
524536
"name": null,
537+
"background_permittivity": null,
525538
"background_medium": null,
526539
"type": "Structure",
527540
"medium": {
@@ -592,6 +605,7 @@
592605
]
593606
},
594607
"name": "pec_group",
608+
"background_permittivity": null,
595609
"background_medium": null,
596610
"type": "Structure",
597611
"medium": {
@@ -622,6 +636,7 @@
622636
"length": 2.0
623637
},
624638
"name": "anisotopic_cylinder",
639+
"background_permittivity": null,
625640
"background_medium": null,
626641
"type": "Structure",
627642
"medium": {
@@ -700,6 +715,7 @@
700715
]
701716
},
702717
"name": "pole_slab",
718+
"background_permittivity": null,
703719
"background_medium": null,
704720
"type": "Structure",
705721
"medium": {
@@ -743,6 +759,7 @@
743759
]
744760
},
745761
"name": null,
762+
"background_permittivity": null,
746763
"background_medium": null,
747764
"type": "Structure",
748765
"medium": {
@@ -778,6 +795,7 @@
778795
]
779796
},
780797
"name": null,
798+
"background_permittivity": null,
781799
"background_medium": null,
782800
"type": "Structure",
783801
"medium": {
@@ -817,6 +835,7 @@
817835
]
818836
},
819837
"name": null,
838+
"background_permittivity": null,
820839
"background_medium": null,
821840
"type": "Structure",
822841
"medium": {
@@ -857,6 +876,7 @@
857876
]
858877
},
859878
"name": null,
879+
"background_permittivity": null,
860880
"background_medium": null,
861881
"type": "Structure",
862882
"medium": {
@@ -896,6 +916,7 @@
896916
]
897917
},
898918
"name": null,
919+
"background_permittivity": null,
899920
"background_medium": null,
900921
"type": "Structure",
901922
"medium": {
@@ -935,6 +956,7 @@
935956
]
936957
},
937958
"name": null,
959+
"background_permittivity": null,
938960
"background_medium": null,
939961
"type": "Structure",
940962
"medium": {
@@ -973,6 +995,7 @@
973995
]
974996
},
975997
"name": null,
998+
"background_permittivity": null,
976999
"background_medium": null,
9771000
"type": "Structure",
9781001
"medium": {
@@ -1014,6 +1037,7 @@
10141037
]
10151038
},
10161039
"name": null,
1040+
"background_permittivity": null,
10171041
"background_medium": null,
10181042
"type": "Structure",
10191043
"medium": {
@@ -1071,6 +1095,7 @@
10711095
]
10721096
},
10731097
"name": null,
1098+
"background_permittivity": null,
10741099
"background_medium": null,
10751100
"type": "Structure",
10761101
"medium": {
@@ -1135,6 +1160,7 @@
11351160
]
11361161
},
11371162
"name": null,
1163+
"background_permittivity": null,
11381164
"background_medium": null,
11391165
"type": "Structure",
11401166
"medium": {
@@ -1192,6 +1218,7 @@
11921218
]
11931219
},
11941220
"name": null,
1221+
"background_permittivity": null,
11951222
"background_medium": null,
11961223
"type": "Structure",
11971224
"medium": {
@@ -1249,6 +1276,7 @@
12491276
]
12501277
},
12511278
"name": null,
1279+
"background_permittivity": null,
12521280
"background_medium": null,
12531281
"type": "Structure",
12541282
"medium": {
@@ -1299,6 +1327,7 @@
12991327
]
13001328
},
13011329
"name": null,
1330+
"background_permittivity": null,
13021331
"background_medium": null,
13031332
"type": "Structure",
13041333
"medium": {
@@ -1336,6 +1365,7 @@
13361365
]
13371366
},
13381367
"name": null,
1368+
"background_permittivity": null,
13391369
"background_medium": null,
13401370
"type": "Structure",
13411371
"medium": {
@@ -1414,6 +1444,7 @@
14141444
]
14151445
},
14161446
"name": null,
1447+
"background_permittivity": null,
14171448
"background_medium": null,
14181449
"type": "Structure",
14191450
"medium": {
@@ -1452,6 +1483,7 @@
14521483
}
14531484
},
14541485
"name": "dieletric_mesh",
1486+
"background_permittivity": null,
14551487
"background_medium": null,
14561488
"type": "Structure",
14571489
"medium": {
@@ -1494,6 +1526,7 @@
14941526
]
14951527
},
14961528
"name": null,
1529+
"background_permittivity": null,
14971530
"background_medium": null,
14981531
"type": "Structure",
14991532
"medium": {
@@ -1545,6 +1578,7 @@
15451578
}
15461579
},
15471580
"name": "clip_operation",
1581+
"background_permittivity": null,
15481582
"background_medium": null,
15491583
"type": "Structure",
15501584
"medium": {
@@ -1607,6 +1641,7 @@
16071641
]
16081642
},
16091643
"name": "transformed_box",
1644+
"background_permittivity": null,
16101645
"background_medium": null,
16111646
"type": "Structure",
16121647
"medium": {
@@ -2842,6 +2877,7 @@
28422877
]
28432878
},
28442879
"name": null,
2880+
"background_permittivity": null,
28452881
"background_medium": null,
28462882
"type": "Structure",
28472883
"medium": {
@@ -2861,10 +2897,10 @@
28612897
"snapping_points": [],
28622898
"type": "GridSpec"
28632899
},
2864-
"version": "2.7.6",
2900+
"version": "2.7.7",
28652901
"lumped_elements": [],
28662902
"subpixel": false,
2867-
"simulation_type": null,
2903+
"simulation_type": "tidy3d",
28682904
"post_norm": 1.0,
28692905
"courant": 0.8,
28702906
"normalize_index": 0,

0 commit comments

Comments
 (0)