4kbt / NewtonianEotWashToolkit

A simple point-wise Newtonian gravitational force calculator
GNU General Public License v3.0
6 stars 2 forks source link

Explicit multipole moments, L<5 #8

Closed JGLee6 closed 4 years ago

JGLee6 commented 4 years ago

There is an error for any of the moments given explicitly (inner multipole moments of L<=5 in qlmACH.py and outer moments in bigQlm.py). When called for L<5 the moment matrix is smaller than the number of entries explicitly filled in.

JGLee6 commented 4 years ago

Should be covered by #9 but maybe should include an explicit test for each moment to make sure. Tests should be included in qlm_Test.py and bigQlm_Test.py.

JGLee6 commented 4 years ago

Tests added in merge #11