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

Anisotropic polarizabilities #34

Open
wants to merge 3 commits into
base: release
Choose a base branch
from

Conversation

andysim
Copy link
Collaborator

@andysim andysim commented May 15, 2017

This PR adds anisotropic polarizabilities that @JoshRackers and I worked on during his visit. Note that it also contains the fix described in #33, so that I could test the changes. I have not addressed OPT yet, because this is already quite a large patch. Once merged (or ignored if you don't want this feature) I can address OPT and fix the long-standing virial bug. The current implementation assumes that the permanent multipole axes also define the anisotropy orientations. Implicit to this is the fact that the permanent moment axes are chosen as the natural axes (i.e. those that diagonalize the polarizability tensor) because we only receive xx, yy and zz components from the user. Generalization to arbitrary tensors would be very trivial. The input mechanism currently looks like:

apolarize   atom_type Axx Ayy Azz thole_damping groups

For example, the water oxygen (with fictitious parameters) would look something like:

apolarize    36 0.8370 0.0370  0.7370 0.3900 37

andysim added 2 commits May 12, 2017 10:35
o With/without PME
o With/without neighborlist
o Finite difference tests pass
o No OPTn implementation yet
@andysim
Copy link
Collaborator Author

andysim commented May 15, 2017

I should also add that I have not been able to extensively test the implicit solvation code, so that will need some scrutiny. The performance of the two-body terms in the approximate preconditioner seems to have degraded, so perhaps the averaging of the polarizabilities in that term is not the best choice.

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