Skip to content

Commit

Permalink
added more flexible dihedrals
Browse files Browse the repository at this point in the history
  • Loading branch information
MFSJMenger committed Sep 13, 2024
1 parent 4950921 commit 92a5c62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion qforce/forcefield/openmm.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class OpenMM(ForcefieldSettings):
'cross_dihed_angle': ('periodic', 'cos_cube', False),
'cross_dihed_bond': ('periodic', 'cos_cube', False),
'cross_dihed_angle_angle': ('periodic', 'cos_cube', False),
'dihedral/flexible': True,
'dihedral/flexible': ('periodic', 'cos_cube', False),
'dihedral/rigid': True,
'dihedral/improper': True,
'dihedral/inversion': True,
Expand Down
8 changes: 4 additions & 4 deletions qforce/molecule/dihedral_terms.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,10 @@ class DihedralTerms(TermFactory):
_term_types = {
'rigid': RigidDihedralTerm,
'improper': ImproperDihedralTerm,
'flexible': PeriodicDihedralTerm, # CosCubeDihedralTerm,# ,RBDihedralTerm
# 'periodic': PeriodicDihedralTerm,
# 'cos_cube': CosCubeDihedralTerm,
# },
'flexible': { # PeriodicDihedralTerm, # CosCubeDihedralTerm,# ,RBDihedralTerm
'periodic': PeriodicDihedralTerm,
'cos_cube': CosCubeDihedralTerm,
},
'inversion': InversionDihedralTerm,
'pitorsion': PiTorsionDihedralTerm,
}
Expand Down

0 comments on commit 92a5c62

Please sign in to comment.