1×2 MMI splitter
3D FDTD and EME of a compact 1×2 MMI, PSFDTD against Meep and psmeme
A 2.5 µm wide multimode section fed through a 0.5 → 1.1 µm taper (4 µm long) and split into two outputs 1.3 µm apart through the same tapers. The length was chosen from the sweep below; the cross-check with Meep uses L = 5 µm.
Setup
220 nm silicon strip (n = 3.476) fully clad in SiO₂ (n = 1.444), both non-dispersive, 500 nm wide access guides, TE0 launched by a mode source, 1500–1600 nm from one Gaussian-pulse run. Both solvers read the same polygon list and port planes from bench/devices.py, use a uniform grid of the same step with sub-pixel smoothing, and report TE0 mode-overlap power at each output divided by the forward TE0 power at a monitor just after the source.
Domain 18 × 5.5 × 2 µm plus PML (PSFDTD: 16 layers; Meep: 1 µm).

Spectrum
Grid convergence
At 25 cells per µm (40 nm), the finest grid both solvers ran, at 1550 nm T(out1) = 0.4918 (PSFDTD) against 0.4920 (Meep), largest difference over 1500–1600 nm 0.0009. Refining PSFDTD from there to 80 cells per µm moves the 1550 nm value by at most 0.0027, so at that grid the two solvers differ by less than the remaining discretisation error of either.
Data table
| Series | Grid resolution (cells per µm) | T(out1) at 1550 nm |
|---|---|---|
| PSFDTD | 20 | 0.49456 |
| PSFDTD | 25 | 0.49178 |
| PSFDTD | 32 | 0.49034 |
| PSFDTD | 40 | 0.49037 |
| PSFDTD | 50 | 0.48939 |
| PSFDTD | 64 | 0.48938 |
| PSFDTD | 80 | 0.48911 |
| Meep | 20 | 0.49335 |
| Meep | 25 | 0.49195 |
| Cells per µm | Cell (nm) | PSFDTD out1 | Meep out1 | Δ |
|---|---|---|---|---|
| 20 | 50 | 0.4946 | 0.4934 | +0.0012 |
| 25 | 40 | 0.4918 | 0.4920 | -0.0002 |
| 32 | 31.25 | 0.4903 | – | – |
| 40 | 25 | 0.4904 | – | – |
| 50 | 20 | 0.4894 | – | – |
| 64 | 15.625 | 0.4894 | – | – |
| 80 | 12.5 | 0.4891 | – | – |
Length sweep, FDTD and EME
Excess loss (both TE0 outputs summed) against the multimode length, from one PSFDTD run per length. psmeme's EME solves the same cross-sections (275 × 111 grid, 16 modes per section, tapers as 64-step staircases) at 1550 nm. Over the lengths both methods computed, the summed transmission differs by at most 0.0274.
| L (µm) | PSFDTD T(out1) + T(out2) | PSFDTD loss (dB) | EME T(pair) |
|---|---|---|---|
| 3.5 | 0.6464 | 1.895 | 0.6564 |
| 4 | 0.8016 | 0.960 | 0.7743 |
| 4.5 | 0.9122 | 0.399 | 0.8878 |
| 5 | 0.9807 | 0.084 | 0.9618 |
| 5.5 | 0.9863 | 0.060 | 0.9784 |
| 6 | 0.9328 | 0.302 | 0.9368 |
| 6.5 | 0.8558 | 0.676 | 0.8574 |
| 7 | 0.7588 | 1.199 | 0.7657 |
| 7.5 | 0.6724 | 1.723 | 0.6826 |
Runtime
| Solver | Cells per µm | Grid | Stepped cells (M) | Steps | Time stepping | Mcells·steps/s |
|---|---|---|---|---|---|---|
| PSFDTD | 20 | 392×142×72 | 4.01 | 5600 | 3.5 s | 6363 |
| PSFDTD | 25 | 482×170×82 | 6.72 | 7200 | 6.8 s | 7095 |
| PSFDTD | 32 | 608×208×96 | 12.14 | 9200 | 14.2 s | 7876 |
| PSFDTD | 40 | 752×252×112 | 21.22 | 11600 | 30.5 s | 8076 |
| PSFDTD | 50 | 932×307×132 | 37.77 | 14200 | 66.5 s | 8061 |
| PSFDTD | 64 | 1184×384×160 | 72.74 | 18000 | 171 s | 7661 |
| PSFDTD | 80 | 1472×472×192 | 133.40 | 22400 | 298 s | 10013 |
| Meep | 20 | 400×150×80 | 2.54 | 7005 | 27.1 min ⁎ | 11 ⁎ |
| Meep | 25 | 500×188×100 | 4.92 | 8756 | 19.5 min ⁎ | 37 ⁎ |
PSFDTD: NVIDIA RTX 4090 (single precision); its grid column includes the PML cells. Meep 1.33.0: one core of an AMD Ryzen 9 9950X under WSL2 (the conda build has no MPI), double precision; in 3D it uses the z mirror plane, so it steps half the grid shown. Times are time stepping only, without mesh generation, mode solving or post-processing. The Meep runs themselves shared the machine with other jobs, so their wall times are not used: each Meep time is the stepping rate of that case measured alone on an idle machine (300 steps, all monitors active) multiplied by the run's step count. Rows marked ⁎ have no idle-machine rate and show the contended wall time, which overstates Meep's cost.
Reproduce
# device specs
python bench/devices.py bench/work/specs
# PSFDTD (Windows, GPU): device, cells per µm
python bench/run_psfdtd.py bench/work/specs/mmi1x2_l5.json 40 bench/work/psfdtd/mmi1x2_l5_res40 --field
# Meep (WSL, micromamba env with pymeep)
bash bench/meep.sh mmi1x2_l5 25