-
Notifications
You must be signed in to change notification settings - Fork 70
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
base: master
Are you sure you want to change the base?
Multipoles #133
Conversation
This pull request introduces 3 alerts when merging 5f0ee42 into b9b6857 - view on LGTM.com new alerts:
|
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") |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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] = [] |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
No description provided.