This code has been used to generate the results presented in the paper entitled (DOI: 10.5194/ars-22-9-2024): "A numerical alternative for 3D addition theorems based on the bilinear form of the dyadic Green's function and the equivalence principle" authored by Giacomo Giannetti https://orcid.org/0000-0002-4318-8176 and Ludger Klinkenbusch.
The code is written in MATLAB. Text files contain the electric and magnetic fields exported from the full-wave simulator CST.
The package available at https://github.com/mingli-ai/FaVeST has been used for part of the code. The corresponding paper is: @article{FaVeST, title={FaVeST: Fast Vector Spherical Harmonic Transforms}, author={Le Gia, Quoc T. and Li, Ming and Wang, Yu Guang}, journal={ACM Transactions on Mathematical Software}, volume={47}, number={4}, pages={1--24}, year={2021}, publisher={ACM New York, NY} }
The condition of use for that package are as follows:
Copyright (c) <2020>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.