Commit graph

392 commits

Author SHA1 Message Date
74bebea837 [fdfd.farfield] fix kys calculation and some near-0 behavior 2026-04-18 23:49:53 -07:00
8d49901b58 [fdtd.misc] fix some packets/pulses 2026-04-18 23:49:53 -07:00
9d419aa3ea [fdtd.misc.gaussian_beam] avoid some nans at w0 near 0 2026-04-18 23:05:08 -07:00
4913211883 [fdfd.eme] fix abcd array construction 2026-04-18 23:05:07 -07:00
f5af0fef55 [waveguide_3d] fixup and doc update 2026-04-18 23:04:44 -07:00
7e8ff23356 misc example updates 2026-04-18 23:02:10 -07:00
jan
be647658d3 [eigensolvers] Increase number of lanczos vectors (ncv) based on number of requested eigenvalues 2025-12-10 23:07:28 -08:00
jan
c46bed8298 update optional deps 2025-12-10 21:15:38 -08:00
jan
fb3bef23bf [examples/fdfd] split fdfd example into two files 2025-12-10 21:14:34 -08:00
jan
d4f1008c5c [fdfd.waveguide*] comment updates 2025-12-10 19:45:26 -08:00
jan
b486fa325b Rework field types, use sparse arrays instead of matrices, rework eme arg naming, improve type annotations and linter cleanup 2025-12-10 02:14:20 -08:00
jan
b7ad5dea2b [fdfd.bloch] drop unnecessary noqas 2025-12-10 02:05:24 -08:00
jan
684b891e0f [waveguide_3d] clean up docstrings 2025-12-09 22:56:16 -08:00
jan
4a80ca8b12 [waveguide_cyl] silence some debug prints 2025-12-09 22:55:52 -08:00
e3169b9e20 bump version to v0.10 v0.10 2025-04-16 22:20:16 -07:00
35ecbad15e remove old lint 2025-04-16 22:19:21 -07:00
43e01a814d examples will use new gridlock 2025-04-16 22:19:14 -07:00
9eb0e28bcb [meanas.fdtd.misc] add basic pulse and beam shapes 2025-03-12 23:40:00 -07:00
c858b20d47 Bump numpy dependency to >=2.0 2025-03-12 23:19:20 -07:00
777ecbc024 [fdfd.solvers.generic] add option to pass a guess solution 2025-02-05 00:13:46 -08:00
c4f8749941 [fdfd.solvers.generic] report residual scaled to b 2025-02-05 00:09:25 -08:00
cd5cc9eb83 [fdfd.eme] Add basic (WIP) eignmode expansion functionality 2025-01-28 22:07:19 -08:00
99e8d32eb1 [waveguide_cyl] frequency should be real 2025-01-28 22:06:32 -08:00
1cb0cb2e4f [fdfd.waveguide_cyl] Improve documentation and add auxiliary functions (e.g. exy2exyz) 2025-01-28 21:59:59 -08:00
234e8d7ac3 delete h version of operator in comment 2025-01-28 19:55:09 -08:00
83f4d87ad8 [fdfd.waveguide*] misc fixes 2025-01-28 19:54:48 -08:00
1987ee473a improve type annotations 2025-01-28 19:54:13 -08:00
4afc6cf62e cleanup latex 2025-01-14 22:34:52 -08:00
53d5812b4a [waveguide_2d] Remove \gamma from docs in favor of just using \beta 2025-01-14 22:34:35 -08:00
651e255704 add derivation for exy2e() 2025-01-14 22:15:18 -08:00
71c2bbfada Add linear_wavenumbers() for calculating 1/distance wavenumbers 2025-01-14 22:02:43 -08:00
6a56921c12 Return angular wavenumbers, and remove r0 arg (leaving only rmin) 2025-01-14 22:02:19 -08:00
006833acf2 add logger 2025-01-14 22:01:29 -08:00
155f30068f add inner_product() and use it for energy calculation 2025-01-14 22:01:10 -08:00
7987dc796f mode numbers may be any sequence 2025-01-14 22:00:21 -08:00
829007c672 Only keep the real part of the energy 2025-01-14 22:00:08 -08:00
659566750f update for new gridlock syntax 2025-01-14 21:59:46 -08:00
76701f593c Check overlap only on forward-propagating part of mode 2025-01-14 21:59:37 -08:00
4e3a163522 indentation & style 2025-01-14 21:59:12 -08:00
50f92e1cc8 [vectorization] add nvdim arg allowing unvec() on 2D fields 2025-01-14 21:58:46 -08:00
b3c2fd391b [waveguide_2d] Return modes sorted by wavenumber (descending) 2025-01-14 21:57:54 -08:00
c543868c0b check for sign=0 case 2025-01-14 21:51:32 -08:00
e54735d9c6 Fix cylindrical waveguide module
- Properly account for rmin vs r0
- Change return values to match waveguide_2d
- Change operator definition to look more like waveguide_2d

remaining TODO:
- Fix docs
- Further consolidate operators vs waveguide_2d
- Figure out E/H field conversions
2025-01-07 00:10:15 -08:00
4f2433320d fix zip(strict=True) for 2D problems 2025-01-07 00:05:19 -08:00
47415a0beb Return list-of-vectors from waveguide mode solve 2025-01-07 00:04:53 -08:00
e459b5e61f clean up comments and some types 2025-01-07 00:04:01 -08:00
36431cd0e4 enable numpy 2.0 and recent scipy 2024-07-29 02:25:16 -07:00
739e96df3d avoid a copy 2024-07-29 00:34:17 -07:00
63e7cb949f explicitly specify closed variables 2024-07-29 00:33:58 -07:00
c53a3c4d84 unused var 2024-07-29 00:33:43 -07:00