adda-team / adda

ADDA - light scattering simulator based on the discrete dipole approximation
GNU General Public License v3.0
96 stars 57 forks source link

Extended Chebyshev shape #292

Open myurkin opened 3 years ago

myurkin commented 3 years ago

Currently ADDA supports axisymmetric (2D) Chebyshev particle, given by equation r=r0(1+εcos()). It should be straightforward to extend it to non-axisymmetric (3D) ones, given by equation r=r0(1+εcos()cos()). Moreover, the existing shape option -shape chebyshev can be used for that (with full backward compatibility) by adding a third optional argument m.

For a reference - https://github.com/adda-team/adda/wiki/AddingShape

This idea appeared in discussion with Michael Kahnert (@michaelkahnert). He is experienced in simulating such shapes with his T-matrix code accounting for finite-order particle symmetries - Tsym.

myurkin commented 3 years ago

/cc @stefaniagl