A class for running MOPAC calculations.
|
__init__(self,
method=' RM1 ' ,
minimize=True,
settings=None,
keywords='
' )
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
setKeyword(self,
key,
value=True,
raise_conflicts=False)
Set the MOPAC keyword to the provided value. |
|
|
|
getValue(self,
key)
Get the value for the provided keyword, whether it was provided a
key/value pair or in a MOPAC keywords string. |
|
|
|
delKeyword(self,
key)
Delete the keyword from the keywords specification and the kwdict
dictionary. |
|
|
|
write(self,
structure,
filename,
logger=None)
Write a MOPAC input file based on the current keyword argument
settings and the provided Structure object. |
|
|
|
hasKeyword(self,
keyword)
If the given keyword was set in the constructor keywords string or as
a key in the kwdict dictionary, return True, otherwise return False. |
|
|
|
calculate(self,
structure,
jobname=None,
tmpdir='
' ,
input_file=False,
save_output_file=False,
scratch_cleanup=' remove ' ,
logger=None)
Run a MOPAC calculation on the provided structure given the object's
current settings. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|