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

Multipoles #133

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Multipoles #133

wants to merge 1 commit into from

Conversation

loriab
Copy link
Collaborator

@loriab loriab commented Sep 19, 2019

No description provided.

@codecov
Copy link

codecov bot commented Sep 19, 2019

Codecov Report

Merging #133 into master will decrease coverage by 0.36%.
The diff coverage is 47.05%.

@lgtm-com
Copy link
Contributor

lgtm-com bot commented Sep 19, 2019

This pull request introduces 3 alerts when merging 5f0ee42 into b9b6857 - view on LGTM.com

new alerts:

  • 3 for Unused import

angular_momentum: int = Schema(..., description="Angular momentum for this singlepole.")
exponents: List[float] = Schema(..., description="Exponents for this singlepole.")
geometry: Array[float] = Schema(..., description="Location of the singlepoles.")
coefficients: List[List[float]] = Schema(..., description="Coefficients for each AM component. Psi4 AM ordering convention: https://github.com/evaleev/libint/blob/5458ab2fb2fd51dcd19f1e8122a451f2a0808074/doc/progman/progman.tex#L1006-L1008")
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is the CCA standard, we should probably avoid Psi4 in schema objects.

Is there such a thing as spherical vs cartesian multipoles?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yeah, we'll fix that up. first memory was Rob notes but actually found at Libint notes.

Andy says most everyone works in Cartesians internally, though he has some spherical stuff. And everyone works in Cartesians externally (this case). Plus, easy to reverse on (at least here and in the Psi4 connection).


class Multipoles(ProtoModel):

poles: List[Singlepole] = []
Copy link
Collaborator

Choose a reason for hiding this comment

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

The idea being here that we would have a point charge Singlepole that would contain a list of centers and then another dipole with another list of centers?

@andysim do you anticipate the centers to overlap between charges/dipoles/etc?

In general, what order of magnitude range do we expect in the number of these elements?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes on your first question. Probably Multipoles gets the fancy __init__ that can broadcast exponents up to a fixed AM, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants