PyStratify against smuthi
- Reference
- smuthi (dipole source and a sphere, by Mie T-matrix and its own translation of the dipole field)
- Kind
- code: another group's code
- Calculated
- total rate, radial and tangential ED, of four spheres: dielectric, a metal-like 40 nm sphere 5 nm away, in water, a 1 µm n = 3.5 sphere
- Agreement
- converges geometrically in smuthi's l_max: 2.2e-16 (dielectric, water), 5.1e-10 (metal, l_max 60), 1.1e-6 (large, l_max 60); asserted 1e-12, 1e-12, 1e-5 (l_max 40)
radial, PyStratify
tangential, PyStratify
radial, smuthi
tangential, smuthi
Hover to read values.
- largest relative difference:
- PyStratify the lines, the reference the circles
radial, PyStratify
tangential, PyStratify
radial, smuthi
tangential, smuthi
Hover to read values.
- largest relative difference:
- PyStratify the lines, the reference the circles
radial, PyStratify
tangential, PyStratify
radial, smuthi
tangential, smuthi
Hover to read values.
- largest relative difference:
- PyStratify the lines, the reference the circles
radial, PyStratify
tangential, PyStratify
radial, smuthi
tangential, smuthi
Hover to read values.
- largest relative difference:
- PyStratify the lines, the reference the circles
Run it yourself: smuthi_spheres.py · test_smuthi_spheres.py · figures.py · SMUTHI_SPHERES.md on GitHub, PyStratify 97e52a9