Skip to content

Commit 4df16cb

Browse files
authored
Add files via upload
1 parent af2fb5d commit 4df16cb

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

multioptpy/interface.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ def mdparser(parser):
324324
parser.add_argument("-order", "--saddle_order", type=int, default=0, help='optimization for (n-1)-th order saddle point (Newton group of opt method (RFO) is only available.) (ex.) [order (0)]')
325325
parser.add_argument('-cmds','--cmds', help="apply classical multidimensional scaling to calculated approx. reaction path.", action='store_true')
326326
parser.add_argument("-xtb", "--usextb", type=str, default="None", help='use extended tight bonding method to calculate. default is GFN2-xTB (ex.) GFN1-xTB, GFN2-xTB ')
327+
parser.add_argument("-sqm1", "--sqm1", action='store_true', help='use experimental semiempirical method based on GFN0-xTB to calculate. default is not using semiempirical method.')
327328
parser.add_argument("-ct", "--change_temperature", type=str, nargs="*", default=[], help='change temperature of thermostat (defalut) No change (ex.) [1000(time), 500(K) 5000(time), 1000(K)...]')
328329
parser.add_argument("-cc", "--constraint_condition", nargs="*", type=str, default=[], help="apply constraint conditions for optimazation (ex.) [[(dinstance (ang.)), (atom1),(atom2)] [(bond_angle (deg.)), (atom1),(atom2),(atom3)] [(dihedral_angle (deg.)), (atom1),(atom2),(atom3),(atom4)] ...] ")
329330
parser.add_argument("-os", "--othersoft", type=str, default="None", help='use other QM software. default is not using other QM software. (require python module, ASE (Atomic Simulation Environment)) (ex.) orca, gaussian, gamessus, mace_mp etc.')

multioptpy/moleculardynamics.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ def __init__(self, args):
112112
self.alpb_solv_model = args.alpb_solv_model
113113
self.software_path_file = args.software_path_file
114114
self.dft_grid = int(args.dft_grid)
115+
self.sqm1 = args.sqm1
115116
return
116117

117118

@@ -163,6 +164,9 @@ def md(self):
163164
os.makedirs(self.BPA_FOLDER_DIRECTORY, exist_ok=True)
164165
if self.args.pyscf:
165166
from multioptpy.Calculator.pyscf_calculation_tools import Calculation
167+
elif self.args.sqm1:
168+
from multioptpy.Calculator.sqm1_calculation_tools import Calculation
169+
166170
elif self.args.othersoft != "None":
167171
if self.args.othersoft.lower() == "lj":
168172
from multioptpy.Calculator.lj_calculation_tools import Calculation

multioptpy/optimization.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -721,8 +721,6 @@ def _import_calculation_module(self):
721721
from multioptpy.Calculator.pyscf_calculation_tools import Calculation
722722
elif self.args.sqm1:
723723
from multioptpy.Calculator.sqm1_calculation_tools import Calculation
724-
725-
726724
elif self.args.othersoft and self.args.othersoft != "None":
727725
if self.args.othersoft.lower() == "lj":
728726
from multioptpy.Calculator.lj_calculation_tools import Calculation

0 commit comments

Comments
 (0)