Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added multimode support to `WavePort` in the smatrix plugin, allowing multiple modes to be analyzed per port.

### Breaking Changes
- Edge singularity correction at PEC and lossy metal edges defaults to `True`.
- `angle_threshold` in `CornerFinderSpec` now defaults to `pi/4`.
**Note: These breaking changes only affect the microwave and smatrix plugins.**
- Renamed path integral classes for improved consistency. Please see our migration guide for details on updating your code.
- `VoltageIntegralAxisAligned` → `AxisAlignedVoltageIntegral`
Expand All @@ -51,7 +53,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Unified run submission API: `web.run(...)` is now a container-aware wrapper that accepts a single simulation or arbitrarily nested containers (`list`, `tuple`, `dict` values) and returns results in the same shape.
- `web.Batch(ComponentModeler)` and `web.Job(ComponentModeler)` native support
- Simulation data of batch jobs are now automatically downloaded upon their individual completion in `Batch.run()`, avoiding waiting for the entire batch to reach completion.
- Edge singularity correction at PEC and lossy metal edges defaults to `True`.

### Fixed
- Ensured the legacy `Env` proxy mirrors `config.web` profile switches and preserves API URL.
Expand Down
4 changes: 2 additions & 2 deletions schemas/EMESimulation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2316,7 +2316,7 @@
"additionalProperties": false,
"properties": {
"angle_threshold": {
"default": 0.3141592653589793,
"default": 0.7853981633974483,
"exclusiveMaximum": 3.141592653589793,
"minimum": 0,
"type": "number"
Expand Down Expand Up @@ -6361,7 +6361,7 @@
}
],
"default": {
"angle_threshold": 0.3141592653589793,
"angle_threshold": 0.7853981633974483,
"attrs": {},
"concave_resolution": null,
"convex_resolution": null,
Expand Down
4 changes: 2 additions & 2 deletions schemas/ModeSimulation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2359,7 +2359,7 @@
"additionalProperties": false,
"properties": {
"angle_threshold": {
"default": 0.3141592653589793,
"default": 0.7853981633974483,
"exclusiveMaximum": 3.141592653589793,
"minimum": 0,
"type": "number"
Expand Down Expand Up @@ -5574,7 +5574,7 @@
}
],
"default": {
"angle_threshold": 0.3141592653589793,
"angle_threshold": 0.7853981633974483,
"attrs": {},
"concave_resolution": null,
"convex_resolution": null,
Expand Down
4 changes: 2 additions & 2 deletions schemas/Simulation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2736,7 +2736,7 @@
"additionalProperties": false,
"properties": {
"angle_threshold": {
"default": 0.3141592653589793,
"default": 0.7853981633974483,
"exclusiveMaximum": 3.141592653589793,
"minimum": 0,
"type": "number"
Expand Down Expand Up @@ -9061,7 +9061,7 @@
}
],
"default": {
"angle_threshold": 0.3141592653589793,
"angle_threshold": 0.7853981633974483,
"attrs": {},
"concave_resolution": null,
"convex_resolution": null,
Expand Down
4 changes: 2 additions & 2 deletions schemas/TerminalComponentModeler.json
Original file line number Diff line number Diff line change
Expand Up @@ -2840,7 +2840,7 @@
"additionalProperties": false,
"properties": {
"angle_threshold": {
"default": 0.3141592653589793,
"default": 0.7853981633974483,
"exclusiveMaximum": 3.141592653589793,
"minimum": 0,
"type": "number"
Expand Down Expand Up @@ -9228,7 +9228,7 @@
}
],
"default": {
"angle_threshold": 0.3141592653589793,
"angle_threshold": 0.7853981633974483,
"attrs": {},
"concave_resolution": null,
"convex_resolution": null,
Expand Down
2 changes: 1 addition & 1 deletion tidy3d/components/grid/corner_finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from tidy3d.components.types import ArrayFloat1D, ArrayFloat2D, Axis, Shapely
from tidy3d.constants import inf

CORNER_ANGLE_THRESOLD = 0.1 * np.pi
CORNER_ANGLE_THRESOLD = 0.25 * np.pi


class CornerFinderSpec(Tidy3dBaseModel):
Expand Down