-
Notifications
You must be signed in to change notification settings - Fork 47
feat(classical): implement nonbonded exclusions as pre-factor instead of counting them twice #13
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
feat(admp): update the newest version to devel branch
feat(classical): support OpenMM-like HarmonicBond, HarmonicAngle and PeriodicTorsion
* fix(classical): fix misusing variables * feat(classical): add a testcase for two LJ molecules * fix(classical): correct setting of LJ case * feat(classical): add a testcase for large molecule (including 1-4) interactions * feat(classical): Add support for reaction-field and no-cutoff in Coulomb potential
* get a preliminary result of point charge pme caclulation * correct gradient of coul * review api.py code * feat(classical): Support more Coulomb potentials (#9) * fix(classical): fix misusing variables * feat(classical): add a testcase for two LJ molecules * fix(classical): correct setting of LJ case * feat(classical): add a testcase for large molecule (including 1-4) interactions * feat(classical): Add support for reaction-field and no-cutoff in Coulomb potential * imporve colvalent_map support Co-authored-by: Roy Kid <lijichen365@126.com>
…arge GAFF molecule
* feat(classical): Support differentiable mscale & add test cases (#10) * Update PME code (#8) * get a preliminary result of point charge pme caclulation * correct gradient of coul * review api.py code * feat(classical): Support more Coulomb potentials (#9) * fix(classical): fix misusing variables * feat(classical): add a testcase for two LJ molecules * fix(classical): correct setting of LJ case * feat(classical): add a testcase for large molecule (including 1-4) interactions * feat(classical): Add support for reaction-field and no-cutoff in Coulomb potential * imporve colvalent_map support Co-authored-by: Roy Kid <lijichen365@126.com> * feat(classical): add testcases for NoCutoff Coulomb potential and a large GAFF molecule * feat(classical): Support differentiable 1-4 scale Co-authored-by: Roy Kid <lijichen365@126.com> * formate code; add example XML section to parseElement docstring Co-authored-by: Roy Kid <lijichen365@126.com>
* fix(classical): fix import relationship * Update * feat(classical): make HarmonicBond and HarmonicAngle the same as GAFF * feat(classical): Support torsion force * fix(classical): use two attributes to save proper/improper dihedral separately * fix(classical): Jax the parameters when creating forces * fix(classical): fix a typo * fix(classical): use ndarray to save indexes * fix(classical): return sum of energies for torsion * feat(classical): support 4th order for torsion * feat(classical): Add UT for classical forcefields * fix(classical): Update PDB structures needed by test cases * fix(classical): Change atomtypes to be consistent with residues * feat(classical): add reference energies for test cases * fix(classical): decrease the decimal for energy comparision * feat(classical): Use the same way of openmm for dihedral typification * fix(classical): remove unused import * fix(classical): add order for impropers * fix(classical): use ndarray instead of list for index saving * fix(classical): Add import element * fix(classical): fix misusing between torsion.periodicity and torsion.phase * fix(classical): misusing between periodicity and phase * fix(classical): Correct bond connection in unit test pdb files * Fix pdb files in unittest * Update proper1.pdb * feat(classical): update reference energy for improper test * Update api.py * feat(classical): Add wildcard testcase for improper * set up LennardJones framework * feat(classical): Add test case for multiple dihedrals in one molecule * fix(classical): change the way of dihedral calculation * start to write LJ potential * feat(classical): Implement 12-6 potential without exclusion * feat(classical): Add exclusion pairs for LJ force * feat(classical): add simple test for LennardJonesForce * fix(classical): fix imp of nbfix * fix(classical): use more reasonable test case * fix(classical): add reference energy * draft for dev lj potential * fix Zonly typo in api.py:332 which not consistent with line 475 * reduce PME force to point charge calculation * get a preliminary result of point charge pme caclulation * feat(classical): support loading charge from residue card and NonbondedForce card * correct gradient of coul * feat(classical): Add setting for force switching * feat(classical): Add noPBC support on LJ potential * review api.py code * feat(classical): Use covalent map to generate exclusions * feat(classical): Call LJ in API * fix(classical): bug fix on misusing list and jnp.array * fix(classical): correctly support NoCutoff * fix(classical): fix misusing variables * feat(classical): add a testcase for two LJ molecules * fix(classical): correct setting of LJ case * feat(classical): add a testcase for large molecule (including 1-4) interactions * feat(classical): Add support for reaction-field and no-cutoff in Coulomb potential * feat(classical): Support more Coulomb potentials (#9) * fix(classical): fix misusing variables * feat(classical): add a testcase for two LJ molecules * fix(classical): correct setting of LJ case * feat(classical): add a testcase for large molecule (including 1-4) interactions * feat(classical): Add support for reaction-field and no-cutoff in Coulomb potential * imporve colvalent_map support * Update PME code (#8) * get a preliminary result of point charge pme caclulation * correct gradient of coul * review api.py code * feat(classical): Support more Coulomb potentials (#9) * fix(classical): fix misusing variables * feat(classical): add a testcase for two LJ molecules * fix(classical): correct setting of LJ case * feat(classical): add a testcase for large molecule (including 1-4) interactions * feat(classical): Add support for reaction-field and no-cutoff in Coulomb potential * imporve colvalent_map support Co-authored-by: Roy Kid <lijichen365@126.com> * feat(classical): add testcases for NoCutoff Coulomb potential and a large GAFF molecule * feat(classical): Support differentiable 1-4 scale * Devel (#9) * feat(classical): Support differentiable mscale & add test cases (#10) * Update PME code (#8) * get a preliminary result of point charge pme caclulation * correct gradient of coul * review api.py code * feat(classical): Support more Coulomb potentials (#9) * fix(classical): fix misusing variables * feat(classical): add a testcase for two LJ molecules * fix(classical): correct setting of LJ case * feat(classical): add a testcase for large molecule (including 1-4) interactions * feat(classical): Add support for reaction-field and no-cutoff in Coulomb potential * imporve colvalent_map support Co-authored-by: Roy Kid <lijichen365@126.com> * feat(classical): add testcases for NoCutoff Coulomb potential and a large GAFF molecule * feat(classical): Support differentiable 1-4 scale Co-authored-by: Roy Kid <lijichen365@126.com> * formate code; add example XML section to parseElement docstring Co-authored-by: Roy Kid <lijichen365@126.com> * feat(classical): add more GAFF2 test cases. * fix(classical): remove unnecessary lines Co-authored-by: Roy-Kid <42854324+Roy-Kid@users.noreply.github.com> Co-authored-by: Roy Kid <lijichen365@126.com> Co-authored-by: Roy-Kid <42854324+Roy-Kid@users.noreply.github.com> Co-authored-by: Roy Kid <lijichen365@126.com>
KuangYu
approved these changes
Apr 13, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.