forked from ericchansen/q2mm
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ESP RMS for a charge scheme This is code that was borrowed from Anna Tomberg and modified to fit the Q2MM organization. Simply put I added two new commands "-mgESP" and "-mjESP" which take two files filename.mae,filename.chk and filename.mae,filename.in, respectively. I have not finished coding the "-mjESP" section, as I do not know of anyone who really wants the Jaguar end of this. For a loop, use the following syntax: RDAT -r some_ref_text_file.txt CDAT -mgESP filename.mae,filename.chk This will take filename.mae and determine the partial charges from the force field and then write them into a gaussian com file (filename.ESP.q2mm.com) which will calculate the RMS when compared to the ESP found in filename.chk. I added a few things into constants.py that should be expanded. 1) Gaussian methods with just a few common functions that we have used in the lab 2) CHELPG radii that are used. This is important for metals that do not have built in radii. A GaussCom class was added to filetypes, and the GaussLog class was modified to read in the RMS from the resulting filename.ESP.q2mm.log file. I have not yet checked to see how compatible this code is with more data types. I imagine there is probably some sorting errors that happen. * Bug: Early Return in GaussLog class After adding in the ESP_fit commit previously I included an early return argument in the read_out function of the GaussLog class. This had been remedied so it shouldn't be a problem anymore. * Will add comments later. * Minor bug fixes There were bugs where atom objects would not have consistent properties, such as an atom type corresponding to Ru but still contained old information from the merging process such as the atomic number.
- Loading branch information
Showing
10 changed files
with
351 additions
and
65 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.