|
def | collect (self) |
|
def | refresh (self) |
|
def | readkf (self, section, variable) |
|
def | newkf (self, filename) |
|
def | get_molecule (self, section, variable, unit='bohr', internal=False, n=1) |
|
def | __init__ (self, job) |
|
def | refresh (self) |
|
def | collect (self) |
|
def | wait (self) |
|
def | grep_file (self, filename, pattern='', options='') |
|
def | awk_file (self, filename, script='', progfile=None, kwargs) |
|
def | grep_output (self, pattern='', options='') |
|
def | awk_output (self, script='', progfile=None, kwargs) |
|
def | rename (self, old, new) |
|
def | __getitem__ (self, name) |
|
Abstract class gathering common mechanisms for results of all ADF Suite binaries.
def qmworks.plams.interfaces.adfsuite.SCMResults.get_molecule |
( |
|
self, |
|
|
|
section, |
|
|
|
variable, |
|
|
|
unit = 'bohr' , |
|
|
|
internal = False , |
|
|
|
n = 1 |
|
) |
| |
get_molecule(section, variable, unit='bohr', internal=False, n=1)
Read molecule coordinates from *section*/*variable* of the main KF file.
Returned |Molecule| instance is created by copying a molecule from associated |SCMJob| instance and updating atomic coordinates with values read from *section*/*variable*. The format in which coordinates are stored is not consistent for all programs or even for different sections of the same KF file. Sometimes coordinates are stored in bohr, sometimes in angstrom. The order of atoms can be either input order or internal order. These settings can be adjusted with *unit* and *internal* parameters. Some variables store more than one geometry, in those cases *n* can be used to choose the preferred one.
def qmworks.plams.interfaces.adfsuite.SCMResults.readkf |
( |
|
self, |
|
|
|
section, |
|
|
|
variable |
|
) |
| |
readkf(section, variable)
Read data from *section*/*variable* of the main KF file.
The type of the returned value depends on the type of *variable* defined inside KF file. It can be: single int, list of ints, single float, list of floats, single boolean, list of booleans or string.