Fix TDMultipoleLmax = 0
The code was always adding the dipole contribution from the geometry to the multipoles, even when only the monopole was required, causing an out-of-bound memory access. Added the TDMultipoleLmax = 0 input option to a couple of tests.
Also fixed a missing POP_SUB found during the debug process.
Fixed bug when TDMultipoleLmax = 0.
- I have checked that my code follows the Octopus coding standards
- I have added tests for all the new features added in this request.