Skip to content

Commit c57b1a0

Browse files
Singularity correction at metallic edges
1 parent b848f5d commit c57b1a0

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
- 'ModeSimulation' now supports 'PermittivityMonitor'.
1515
- Classmethod `from_frequency_range` in `GaussianPulse` for generating a pulse whose amplitude in the frequency_range [fmin, fmax] is maximized, which is particularly useful for running broadband simulations.
1616
- 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.
17+
- Enable singularity correction at PEC and LossyMetalMedium edges.
1718

1819
### Changed
1920
- Performance enhancement for adjoint gradient calculations by optimizing field interpolation.

tidy3d/components/subpixel_spec.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,14 @@ class PECConformal(AbstractSubpixelAveragingMethod):
120120
ge=0,
121121
)
122122

123+
edge_singularity_correction: bool = pd.Field(
124+
True,
125+
title="Apply Singularity Model At Metal Edges",
126+
description="Apply field correction model at metallic edges where field singularity occurs. "
127+
"The correction is applied to straight edges aligned with the primal grids, and the wedge angle is either "
128+
"0 or 90 degree.",
129+
)
130+
123131
@cached_property
124132
def courant_ratio(self) -> float:
125133
"""The scaling ratio applied to Courant number so that the courant number

0 commit comments

Comments
 (0)