Skip to content
Open
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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]

### Added
- Added `symmetrize_mirror`, `symmetrize_rotation`, `symmetrize_diagonal` functions to the autograd plugin. They can be used for enforcing symmetries in topology optimization.
- Klayout plugin automatically finds klayout installation path at common locations.
- Added autograd support for `TriangleMesh`, allowing gradient computation with respect to mesh vertices for inverse design.
- Added `EMESimulation.store_coeffs` to store coefficients from the EME solver, including mode overlaps, interface S matrices, and effective propagation indices.
- Get cell-related information from violation markers in `DRCResults` and `DRCViolation` to the klayout plugin: Use for example `DRCResults.violations_by_cell` to group them.
- Added autograd support for `Sphere`.

### Changed

Expand Down
11 changes: 9 additions & 2 deletions schemas/EMESimulation.json
Original file line number Diff line number Diff line change
Expand Up @@ -11264,8 +11264,15 @@
]
},
"radius": {
"minimum": 0,
"type": "number"
"anyOf": [
{
"minimum": 0,
"type": "number"
},
{
"type": "autograd.tracer.Box"
}
]
},
"type": {
"default": "Sphere",
Expand Down
11 changes: 9 additions & 2 deletions schemas/HeatChargeSimulation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7567,8 +7567,15 @@
]
},
"radius": {
"minimum": 0,
"type": "number"
"anyOf": [
{
"minimum": 0,
"type": "number"
},
{
"type": "autograd.tracer.Box"
}
]
},
"type": {
"default": "Sphere",
Expand Down
11 changes: 9 additions & 2 deletions schemas/HeatSimulation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7567,8 +7567,15 @@
]
},
"radius": {
"minimum": 0,
"type": "number"
"anyOf": [
{
"minimum": 0,
"type": "number"
},
{
"type": "autograd.tracer.Box"
}
]
},
"type": {
"default": "Sphere",
Expand Down
11 changes: 9 additions & 2 deletions schemas/ModeSimulation.json
Original file line number Diff line number Diff line change
Expand Up @@ -10984,8 +10984,15 @@
]
},
"radius": {
"minimum": 0,
"type": "number"
"anyOf": [
{
"minimum": 0,
"type": "number"
},
{
"type": "autograd.tracer.Box"
}
]
},
"type": {
"default": "Sphere",
Expand Down
11 changes: 9 additions & 2 deletions schemas/Simulation.json
Original file line number Diff line number Diff line change
Expand Up @@ -15334,8 +15334,15 @@
]
},
"radius": {
"minimum": 0,
"type": "number"
"anyOf": [
{
"minimum": 0,
"type": "number"
},
{
"type": "autograd.tracer.Box"
}
]
},
"type": {
"default": "Sphere",
Expand Down
11 changes: 9 additions & 2 deletions schemas/TerminalComponentModeler.json
Original file line number Diff line number Diff line change
Expand Up @@ -16456,8 +16456,15 @@
]
},
"radius": {
"minimum": 0,
"type": "number"
"anyOf": [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran into a similar thing here in my custom vjp PR. Talking with @yaugenst-flex , I think they are going to open up schema breaking changes again Jan 5th. So the PR might need to wait to get merged until then

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's fine :)

{
"minimum": 0,
"type": "number"
},
{
"type": "autograd.tracer.Box"
}
]
},
"type": {
"default": "Sphere",
Expand Down
Loading
Loading