Skip to content

Commit 3dc27f1

Browse files
committed
Notebooks, changelog, schema, version bump for 2.8.2
1 parent 3f81f19 commit 3dc27f1

File tree

7 files changed

+366
-21
lines changed

7 files changed

+366
-21
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.8.2] - 2025-04-09
11+
1012
### Added
1113
- `fill` and `fill_structures` argument in `td.Simulation.plot_structures()` and `td.Simulation.plot()` respectively to disable fill and plot outlines of structures only.
1214
- New subpixel averaging option `ContourPathAveraging` applied to dielectric material boundaries.
@@ -26,6 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2628
### Changed
2729
- `num_freqs` in Gaussian beam type sources limited to 20, which should besufficient for all cases.
2830
- The `angle_phi` parameter of `ModeSpec` is only limited to multiples of `np.pi / 2` if `angle_rotation` is set to `True`, as other values would currently not work correctly.
31+
- The `ramp_up_iters` parameter of the `ChargeSolver` was changed back to 1 for efficiency. It can be increased in cases with e.g. high doping when convergence is more difficult.
2932

3033
## [2.8.1] - 2025-03-20
3134

@@ -1567,7 +1570,8 @@ which fields are to be projected is now determined automatically based on the me
15671570
- Job and Batch classes for better simulation handling (eventually to fully replace webapi functions).
15681571
- A large number of small improvements and bug fixes.
15691572

1570-
[Unreleased]: https://github.com/flexcompute/tidy3d/compare/v2.8.1...develop
1573+
[Unreleased]: https://github.com/flexcompute/tidy3d/compare/v2.8.2...develop
1574+
[2.8.2]: https://github.com/flexcompute/tidy3d/compare/v2.8.1...v2.8.2
15711575
[2.8.1]: https://github.com/flexcompute/tidy3d/compare/v2.8.0...v2.8.1
15721576
[2.8.0]: https://github.com/flexcompute/tidy3d/compare/v2.7.9...v2.8.0
15731577
[2.7.9]: https://github.com/flexcompute/tidy3d/compare/v2.7.8...v2.7.9

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "tidy3d"
3-
version = "2.8.1"
3+
version = "2.8.2"
44
description = "A fast FDTD solver"
55
authors = ["Tyler Hughes <tyler@flexcompute.com>"]
66
license = "LGPLv2+"
@@ -295,7 +295,7 @@ testpaths = ["tidy3d", "tests", "docs"]
295295
python_files = "*.py"
296296

297297
[tool.bumpversion]
298-
current_version = "2.8.1"
298+
current_version = "2.8.2"
299299
parse = """(?x)
300300
(?P<major>0|[1-9]\\d*)\\.
301301
(?P<minor>0|[1-9]\\d*)\\.

tests/sims/simulation_sample.h5

816 Bytes
Binary file not shown.

tests/sims/simulation_sample.json

Lines changed: 95 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,72 @@
603603
}
604604
}
605605
},
606+
{
607+
"attrs": {},
608+
"geometry": {
609+
"attrs": {},
610+
"type": "Box",
611+
"center": [
612+
-1.0,
613+
0.0,
614+
0.0
615+
],
616+
"size": [
617+
1.0,
618+
1.0,
619+
1.0
620+
]
621+
},
622+
"name": "fully_anisotropic_box",
623+
"background_permittivity": null,
624+
"background_medium": null,
625+
"type": "Structure",
626+
"medium": {
627+
"attrs": {},
628+
"name": null,
629+
"frequency_range": null,
630+
"allow_gain": false,
631+
"nonlinear_spec": null,
632+
"modulation_spec": null,
633+
"viz_spec": null,
634+
"heat_spec": null,
635+
"type": "FullyAnisotropicMedium",
636+
"permittivity": [
637+
[
638+
6.0,
639+
2.0,
640+
3.0
641+
],
642+
[
643+
2.0,
644+
7.0,
645+
4.0
646+
],
647+
[
648+
3.0,
649+
4.0,
650+
9.0
651+
]
652+
],
653+
"conductivity": [
654+
[
655+
0.0,
656+
0.0,
657+
0.0
658+
],
659+
[
660+
0.0,
661+
0.0,
662+
0.0
663+
],
664+
[
665+
0.0,
666+
0.0,
667+
0.0
668+
]
669+
]
670+
}
671+
},
606672
{
607673
"attrs": {},
608674
"geometry": {
@@ -2015,6 +2081,7 @@
20152081
"offset": 5.0,
20162082
"remove_dc_component": true
20172083
},
2084+
"num_freqs": 3,
20182085
"direction": "+",
20192086
"angle_theta": 0.5235987755982988,
20202087
"angle_phi": 0.6283185307179586,
@@ -2192,6 +2259,33 @@
21922259
"Hz"
21932260
]
21942261
},
2262+
{
2263+
"attrs": {},
2264+
"type": "AuxFieldTimeMonitor",
2265+
"center": [
2266+
0.0,
2267+
0.0,
2268+
0.0
2269+
],
2270+
"size": [
2271+
0.0,
2272+
0.0,
2273+
0.0
2274+
],
2275+
"name": "aux_field_time",
2276+
"interval_space": [
2277+
1,
2278+
1,
2279+
1
2280+
],
2281+
"colocate": true,
2282+
"start": 0.0,
2283+
"stop": null,
2284+
"interval": 100,
2285+
"fields": [
2286+
"Nfx"
2287+
]
2288+
},
21952289
{
21962290
"attrs": {},
21972291
"type": "FluxMonitor",
@@ -3107,7 +3201,7 @@
31073201
"layer_refinement_specs": [],
31083202
"type": "GridSpec"
31093203
},
3110-
"version": "2.8.0",
3204+
"version": "2.8.1",
31113205
"plot_length_units": "\u03bcm",
31123206
"lumped_elements": [
31133207
{

tidy3d/schema.json

Lines changed: 262 additions & 15 deletions
Large diffs are not rendered by default.

tidy3d/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""DO NOT EDIT: Modified automatically with .bump2version.cfg"""
22

3-
__version__ = "2.8.1"
3+
__version__ = "2.8.2"

0 commit comments

Comments
 (0)