gds_fdtd.convergence¶
gds_fdtd simulation toolbox.
Convergence sweeps: rerun one job while stepping a single SimulationSpec field (mesh, run_time_factor, buffer, …) and measure how much the S-matrix still moves between successive values. Generalizes the hand-rolled mesh sweeps of the legacy examples:
report = sweep(Tidy3DSolver, component, tech, spec,
field="mesh", values=[6, 10, 14, 18],
cache_dir=".cache") # reruns are free
report.recommend(tol_db=0.05) # first converged value
report.plot(savefig="convergence.png")
Functions
|
Worst-case |
|
Run the same job at each |
Classes
|
Result of a convergence sweep over one SimulationSpec field. |