Validation
Validation
PSFDTD and psmeme checked against published devices, analytic solutions, Meep and their own CPU backends, with every discrepancy reported.
Each page states the device, the setup, the numbers, what they are compared against, the known limitations and the commands to reproduce the run.
Provenance of the reference values:
- Paper-reported values (Tidy3D, Lumerical, FIMMWAVE, measurements) are taken from the cited papers. They are not runs made for this gallery.
- Meep values are local runs; the Meep version and the hardware are given on each page.
- Every timing is given with its hardware (RTX 4090 or Apple M3 Max).
| Example | Method | Headline number | Reference |
|---|---|---|---|
| Grating coupler | 2D FDTD (RTX 4090, FP32) with a local Meep 1.33 cross-check | Peak coupling efficiency −4.30 dB at 1564.6 nm (res 120); within 0.012 dB and 0.3 nm of Meep at 150 px/µm | Taillaert et al., JJAP 45, 6071 (2006) |
| 1×2 MMI | 3D FDTD (RTX 4090, FP32) with a psmeme EME cross-check | Bare-MMI loss at the optimum length 0.046 dB (res 20) vs 0.049–0.051 dB (psmeme EME) vs 0.039 dB (paper-reported FIMMWAVE); 0.073 dB at the paper's fixed L = 11.5 µm | Sheng et al., IEEE Photonics J. 4, 2272 (2012) |
| N = 8 star coupler | 3D FDTD (RTX 4090, FP32) | Port 4: RMS 0.18 dB from the paper-reported Lumerical curve, loss 1.41 dB vs 1.7 dB; port 0: RMS 0.83 dB | DeSantis et al., Opt. Express 32, 36656 (2024) |
| Liu and Poon six-device suite | 3D FDTD, six devices (RTX 4090, FP32) | Solve time, geometric mean: 1.00× paper-reported Tidy3D cloud, 0.59× paper-reported Lumerical GPU (up to 8× L40S), 12.01× paper-reported Lumerical 24-core CPU; mode converter 0.404 vs paper 0.492 / 0.500, unresolved | Liu and Poon, arXiv:2506.16665 |
| Analytic and Meep correctness suite | 2D/3D FDTD canonical cases vs analytic solutions, local Meep 1.33.0-beta (Apple M3 Max) and GPU vs CPU (RTX 4090) | 82/82 checks pass on both baselines | Analytic solutions and Meep |
| Meep test suite | 18 Meep end-to-end tests ported to PSFDTD (FP64, Apple M3 Max) | 16/18 pass; chunks and mode_coeffs fail | Meep (NanoComp/meep), commit b7943593 |
| GPU performance and roofline | Operator roofline and whole-engine throughput (RTX 4090) | Yee step 10.16 Gcells/s in FP32 on 3D 256³, at 91.5% to 92.6% of the theoretical DRAM bandwidth | Device limits measured on the same GPU |
| FDE and EME on the GPU | psmeme FDE mode solver and EME, CUDA vs its own CPU backend (RTX 4090) | Mode solve 12.9×–40.8× faster with max abs Δneff ≤ 3.0e-13 (6.0e-11 in one PML case); EME taper 119.60 s → 9.44 s (12.7×) | psmeme CPU backend (self-consistency) |