Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test for multipoledistribution analysis #266

Merged
merged 4 commits into from
Mar 20, 2020
Merged

Test for multipoledistribution analysis #266

merged 4 commits into from
Mar 20, 2020

Conversation

mlund
Copy link
Owner

@mlund mlund commented Mar 19, 2020

This adds a test case for the multipole distribution analysis, multipoledist, and also fixes a problem with the way the quadrupole moment was calculated, giving wrong results for the distribution analysis. Squash merge intended.

@mlund mlund added enhancement 💪 fix 🔧 Fix broken functionality labels Mar 19, 2020
@mlund mlund added this to the Version 2.4.0 milestone Mar 19, 2020
@mlund mlund requested a review from bjornstenqvist March 19, 2020 18:17
- pos1: [1.0, 1.0, 0.0]
- pos1: [-1.0, -1.0, 0.0]
- neg1: [1.0, -1.0, 0.0]
- neg2: [-1.0, 1.0, 0.0]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should it not be neg1?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's on purpose since I want all moments to be non-zero in the test

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good then!

@mlund mlund merged commit f9486f9 into master Mar 20, 2020
@mlund mlund deleted the multipole-test branch March 20, 2020 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 💪 fix 🔧 Fix broken functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants