Skip to content

Commit 0a358a2

Browse files
committed
Merge branch 'develop' into latest
2 parents 449923e + e1ad97e commit 0a358a2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+2028
-223
lines changed

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [2.8.4] - 2025-05-15
11+
12+
### Added
13+
- The method `Geometry.reflected` can be used to create a reflected copy of any geometry off a plane. As for other transformations, for efficiency, `reflected` `PolySlab` directly returns an updated `PolySlab` object rather than a `Transformed` object, except when the normal of the plane of reflection has a non-zero component along the slab axis, in which case `Transformed` is still returned.
14+
- Validation check for unit error in grid spacing.
15+
- Validation that when symmetry is imposed along a given axis, the boundary conditions on each side of the axis are identical.
16+
17+
### Changed
18+
- Supplying autograd-traced values to geometric fields (`center`, `size`) of simulations, monitors, and sources now logs a warning and falls back to the static value instead of erroring.
19+
- Attempting to differentiate server-side field projections now raises a clear error instead of silently failing.
20+
- Improved error message and handling when attempting to load a non-existent task ID.
21+
- `ClipOperation` now fails validation if traced fields are detected.
22+
- Warn if more than 20 frequencies are used in EME, as this may lead to slower or more expensive simulations.
23+
- EME now supports 2D simulations.
24+
- 'EMESimulation' now supports 'PermittivityMonitor'.
25+
26+
### Fixed
27+
- Fixed issue with `CustomMedium` gradients where other frequencies would wrongly contribute to the gradient.
28+
- Fixed bug when computing `PolySlab` bounds in plotting functions.
29+
1030
## [2.8.3] - 2025-04-24
1131

1232
### Added
@@ -18,10 +38,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1838
- Differentiable function `td.plugins.autograd.interpolate_spline` for 1D linear, quadratic, and cubic spline interpolation, supporting differentiation with respect to the interpolated values (`y_points`) and optional endpoint derivative constraints.
1939
- `SteadyEnergyBandMonitor` in the Charge solver.
2040
- Pretty printing enabled with `rich.print` for the material library, materials, and their variants. In notebooks, this can be accessed using `rich.print` or `display`, or by evaluating the material library, a material, or a variant in a cell.
41+
- `FieldData` and `ModeData` support exporting E fields to a Zemax Beam File (ZBF) with `.to_zbf()` (warning: experimental feature).
42+
- `FieldDataset` supports reading E fields from a Zemax Beam File (ZBF) with `.from_zbf()` (warning: experimental feature).
43+
- Unstructured grid now supports 2D/3D box-shaped refinement regions and 1D refinement lines of arbitrary direction.
2144

2245
### Changed
2346
- Performance enhancement for adjoint gradient calculations by optimizing field interpolation.
2447
- Auto grid in EME simulations with multiple `freqs` provided uses the largest instead of raising an error.
48+
- Increased maximum number of frequencies in an EME simulation from 20 to 500
2549
- Named mediums now display by name for brevity; materials/variants print concise summaries including references.
2650

2751
### Fixed
@@ -1594,7 +1618,8 @@ which fields are to be projected is now determined automatically based on the me
15941618
- Job and Batch classes for better simulation handling (eventually to fully replace webapi functions).
15951619
- A large number of small improvements and bug fixes.
15961620

1597-
[Unreleased]: https://github.com/flexcompute/tidy3d/compare/v2.8.3...develop
1621+
[Unreleased]: https://github.com/flexcompute/tidy3d/compare/v2.8.4...develop
1622+
[2.8.4]: https://github.com/flexcompute/tidy3d/compare/v2.8.3...v2.8.4
15981623
[2.8.3]: https://github.com/flexcompute/tidy3d/compare/v2.8.2...v2.8.3
15991624
[2.8.2]: https://github.com/flexcompute/tidy3d/compare/v2.8.1...v2.8.2
16001625
[2.8.1]: https://github.com/flexcompute/tidy3d/compare/v2.8.0...v2.8.1

docs/_static/css/TWKEverett-Bold.otf

174 KB
Binary file not shown.
175 KB
Binary file not shown.
147 KB
Binary file not shown.

docs/_static/css/custom.css

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
11
/* FONTS */
22
@font-face {
33
font-family: 'flexcompute_title';
4-
src: url('ornitons_bold.ttf') format('truetype');
4+
src: url('TWKEverett-Extrabold.otf') format('truetype');
55
}
66

77
@font-face {
88
font-family: 'flexcompute_subtitle';
9-
src: url('inter_var.woff2') format('truetype');
9+
src: url('TWKEverett-Bold.otf') format('truetype');
1010
}
1111

12+
@font-face {
13+
font-family: 'flexcompute_regular';
14+
src: url('TWKEverett-Regular.otf') format('truetype');
15+
}
1216

13-
.wy-side-nav-search { background-color: #b5445b; }
14-
.wy-nav-top { background-color: #666666; }
15-
.wy-menu > .caption > span.caption-text { color: #b5445b; }
17+
18+
.wy-side-nav-search { background-color: #00643C; }
19+
.wy-nav-top { background-color: #B8A18B; }
20+
.wy-menu > .caption > span.caption-text { color: #00643C; }
1621

1722
.wy-nav-content { max-width: 900px !important; }
1823
.wy-table-responsive table td { white-space: normal !important; }
@@ -21,7 +26,7 @@ body { line-height: 1.42857143; }
2126
.heading-style, h1, h2, h3, h4, h5, h6 {margin: 1.6rem 0 1rem;}
2227
h1 {font-family: 'flexcompute_title', sans-serif;}
2328
h2, h3, h4, h5, h6 {font-family: 'flexcompute_subtitle', sans-serif;}
24-
p {margin-bottom: 0.5rem; font-family: 'Roboto', sans-serif}
29+
p {margin-bottom: 0.5rem; font-family: 'flexcompute_regular', sans-serif}
2530
iframe {width: 100%;border: unset}
2631

2732
.toctree-wrapper li[class^=toctree-l1]>a {font-size: 1.4em; text-decoration: none}
@@ -38,18 +43,25 @@ iframe {width: 100%;border: unset}
3843
}
3944

4045
html[data-theme="light"] {
41-
--pst-color-primary: #b5445b;
42-
--pst-color-secondary: #4772ae;
43-
--tab-color: var(--pst-color-secondary);
46+
--pst-color-primary: #B8A18B;
47+
--pst-color-secondary: #00643C;
48+
--tab-color: #00643C;
4449
--pst-color-link: var(--pst-color-muted);
50+
--sd-color-info-bg: #B8A18B;
51+
--pst-color-table-row-hover-bg: var(--pst-color-primary);
52+
--pst-color-inline-code-links: #8851AD;
53+
--pst-color-inline-code: var(--pst-color-secondary);
4554
}
4655

4756
html[data-theme="dark"] {
48-
--pst-color-primary: #4772ae;
49-
--pst-color-secondary: #b5445b;
50-
--tab-color: #9647AE; /*#1C2E46;*/
57+
--pst-color-primary: #B8A18B;
58+
--pst-color-secondary: #61B29C;
59+
--tab-color: #B8A18B;
5160
--pst-color-link: var(--pst-color-muted);
52-
--sd-color-info-bg: var(--pst-color-primary);
61+
--sd-color-info-bg: #00643C;
62+
--pst-color-table-row-hover-bg: #8851AD;
63+
--pst-color-inline-code-links: #6DB5DD;
64+
--pst-color-inline-code:#FED88B;
5365
}
5466

5567
html[data-theme=dark] .bd-content .nboutput .output_area.rendered_html {
@@ -85,10 +97,12 @@ img {
8597
border-top-right-radius: 0.1em;
8698
border: 0;
8799
font-weight: bold;
100+
color: var(--pst-color-primary-text);
88101
}
89102

90103
.sphinx-tabs-tab[aria-selected="true"] {
91104
background-color: var(--sd-color-info-bg);
105+
color: var(--pst-color-text-base);
92106
}
93107

94108
html[data-theme=dark] .dataframe {
@@ -102,4 +116,4 @@ html[data-theme=dark] .dataframe {
102116

103117
/*th {*/
104118
/* border: thin;*/
105-
/*}*/
119+
/*}*/

docs/_static/css/inter_var.woff2

-317 KB
Binary file not shown.

docs/_static/css/ornitons_bold.ttf

-46.2 KB
Binary file not shown.
Lines changed: 21 additions & 1 deletion
Loading

0 commit comments

Comments
 (0)