rmgpy.qm.main¶
- class rmgpy.qm.main.QMSettings(software=None, method='pm3', fileStore=None, scratchDirectory=None, onlyCyclics=True, maxRadicalNumber=0)¶
A minimal class to store settings related to quantum mechanics calculations.
Attribute
Type
Description
software
strQuantum chemical package name in common letters
method
strSemi-empirical method
fileStore
strThe path to the QMfiles directory
scratchDirectory
strThe path to the scratch directory
onlyCyclics
boolTrueif to run QM only on ringed speciesmaxRadicalNumber
intRadicals larger than this are saturated before applying HBI
- check_all_set()¶
Check that all the required settings are set.
- class rmgpy.qm.main.QMCalculator(software=None, method='pm3', fileStore=None, scratchDirectory=None, onlyCyclics=True, maxRadicalNumber=0)¶
A Quantum Mechanics calculator object, to store settings.
The attributes are:
Attribute
Type
Description
settings
Settings for QM calculations
database
ThermoLibraryDatabase containing QM calculations
- check_paths()¶
Check the paths in the settings are OK. Make folders as necessary.
- check_ready()¶
Check that it’s ready to run calculations.
- get_thermo_data(molecule)¶
Generate thermo data for the given
Moleculevia a quantum mechanics calculation.Ignores the settings onlyCyclics and maxRadicalNumber and does the calculation anyway if asked. (I.e. the code that chooses whether to call this method should consider those settings).
- initialize()¶
Do any startup tasks.
- run_jobs(spc_list, procnum=1)¶
Run QM jobs for the provided species list (in parallel if requested).
- set_default_output_directory(output_directory)¶
IF the fileStore or scratchDirectory are not already set, put them in here.