Skip to content

Commit

Permalink
Merge pull request #28 from davidkastner/makeDielectriccontrol
Browse files Browse the repository at this point in the history
Add functionality to change dielectric near bonds
  • Loading branch information
mane292 committed Apr 9, 2024
2 parents 6716697 + 5e5acc9 commit 351e829
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pyef/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(self, lst_of_folders, lst_of_tmcm_idx, folder_to_file_path, inGaCag
self.dielectric = 1

#To avoid over-estimating screening from bound atoms, set dielectric to 1 for primary bound atoms in ESP calv
self.changeDielectBoundBool = True
self.changeDielectBoundBool = False
# Dictionary is originally from molsimplify, # Data from http://www.webelements.com/ (last accessed May 13th 2015)
# Palladium covalent radius seemed to be under-estimated in original implementation, so changed to 1.39 per https://webelements.com/palladium/atom_sizes.html
# Dictionary from molsimplify, https://molsimplify.readthedocs.io/en/latest/_modules/molSimplify/Classes/globalvars.html
Expand Down Expand Up @@ -81,8 +81,13 @@ def __init__(self, lst_of_folders, lst_of_tmcm_idx, folder_to_file_path, inGaCag
'Np': (237.05, 93, 1.90, 7), 'Pu': (244.06, 94, 1.75, 8), 'Am': (243.06, 95, 1.80, 9),
'Cm': (247.07, 96, 1.69, 10), 'Bk': (247.07, 97, 1.68, 11), 'Cf': (251.08, 98, 1.68, 12)}
self.prepData()

def minDielecBonds(self, bool_bonds):
self.changeDielectBoundBool = bool_bonds

def changeDielectric(self, dlc):
self.dielectric = dlc

def fix_ECPmolden(self):
"""Prepares output terachem data for analysis, mainly isolating final .xyz frame and naming .molden file appropriotely"""

Expand Down

0 comments on commit 351e829

Please sign in to comment.