PyStratify against pyGDM2
- Reference
- pyGDM2 (a second different method: volume Green dyadic)
- Kind
- code: another group's code
- Calculated
- C_ext, C_sca, C_abs of 40 nm-radius n = 2 and n = 2 + 0.1i spheres at the volume-equivalent radius, 425–2235 dipoles; metal spheres shown
- Agreement
- finest mesh within 4%; observed +2.2–2.9% (the lattice's error at these meshes); metals not asserted (ε = −10 + i still +173% absorption)
Cext, PyStratify
Csca, PyStratify
Cext, pyGDM2 (1405 dipoles)
Csca, pyGDM2 (1405 dipoles)
Hover to read values.
- largest relative difference (the lattice's error at this mesh):
- PyStratify the lines, the reference the circles
Run it yourself: gdm_spheres.py · test_gdm_spheres.py · figures.py · GDM_SPHERES.md on GitHub, PyStratify 97e52a9