Trees | Indices | Help |
|
---|
|
PyQt4.QtGui.QWidget --+ | base_tab.BaseTab --+ | TheoryTab
A tab for selecting the level of theory.
|
|||
|
|||
dict |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
str |
|
||
str |
|
||
str or NoneType |
|
||
str |
|
||
bool or NoneType |
|
||
bool or NoneType |
|
||
str |
|
||
dict |
|
||
dict |
|
||
dict |
|
||
dict |
|
||
|
|||
NoneType or str |
|
||
str |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
str |
NAME = "Theory" The name of the tab |
||
str |
HELP_TOPIC = "JAGUAR_TOPIC_THEORY_FOLDER" The help topic for the tab |
||
tuple |
UI_MODULES = ui.theory_tab_ui, A tuple of ui modules defining the tab widgets. |
||
dict |
THEORY_INDICES = {THEORY_COMBO_DFT: THEORY_DFT, THEORY_COMBO_H A dictionary of {index in the theory combo box: theory name}. |
||
dict |
THEORY_TO_INDEX = {v: k for k, v in THEORY_INDICES.iteritems()} A dictionary of {theory name: index in the theory drop down} (i.e. |
||
CORE_LOCALIZATION_METHODS = OrderedDict((("None", mm.MMJAG_LOC An OrderedDict of {localization method: mmjag keyword value} used to populate the core localization combo box. |
|||
collections.OrderedDict
|
VALENCE_LOCALIZATION_METHODS = OrderedDict((("Pipek-Mezey", mm An OrderedDict of {localization method: mmjag keyword value} used to populate the valence localization combo box. |
||
RESONANCE = OrderedDict((("None", mm.MMJAG_IRESON_OFF), ("Part An OrderedDict of {resonance method: mmjag keyword value} used to populate the resonance combo box. |
|||
DFT_RECOMMENDED_FUNCS = OrderedDict((('Hybrid', ('M06-2X', 'M0 An ordered dict of {category name: list of functionals} mapping the category name for recommended functionals to a list of DFT functional names in that category. |
|||
tuple |
DFT_OTHER = "B3P86", "PWB6K", "PW6B95", "M06-HF", "M05", "M05- A tuple of DFT functionals user to populate the other functionals combo box. |
||
frozenset |
LMP2_KEYWORDS = frozenset((mm.MMJAG_IKEY_MP2, mm.MMJAG_IKEY_LO A set of keywords that may only appear if the level of theory is LMP2. |
||
frozenset |
DFT_OR_HF_KEYWORDS = frozenset((mm.MMJAG_IKEY_IUHF, mm.MMJAG_I A set of keywords that may only appear if the level of theory is HF or DFT. |
||
frozenset |
DFT_GRID_KEYWORDS = frozenset((mm.MMJAG_IKEY_GDFTMED, mm.MMJAG A set of keywords that correspond to DFT grid density. |
||
frozenset |
DFT_ONLY_KEYWORDS = frozenset((mm.MMJAG_SKEY_DFTNAME, mm.MMJAG A set of keywords that may only appear if the level of theory is DFT. |
||
collections.OrderedDict
|
GRID_DENSITY = OrderedDict((("Medium", (-10,-11,-12)), ("Fine" An OrderedDict of {grid density name: (gdftmed value, gdftfine value, gdftgrad value)} used to populate the grid density combo box. |
||
collections.OrderedDict
|
GRID_DENSITY_REV = {v: k for k, v in GRID_DENSITY.iteritems()} An OrderedDict of {(gdftmed value, gdftfine value, gdftgrad value): grid density name} (i.e. |
||
EXCITED_STATE_TYPES = OrderedDict((("Singlet", (mm.MMJAG_RSING
|
|||
HAMILTONIAN = OrderedDict((("Nonrelativistic", ""), ("Scalar Z
|
|||
PyQt4.QtCore.pyqtSignal
|
method_changed = QtCore.pyqtSignal() A signal emitted when the theory level or DFT functional is changed |
||
PyQt4.QtCore.pyqtSignal
|
spinTreatmentChanged = QtCore.pyqtSignal() A signal emitted when the spin treatment changes. |
||
PyQt4.QtCore.pyqtSignal
|
excited_state_changed = QtCore.pyqtSignal() A signal emitted when the state of the 'Excited state' checkbox changes. |
||
PyQt4.QtCore.pyqtSignal
|
hamiltonianChanged = QtCore.pyqtSignal() A signal emitted when the Hamiltonian changes. |
||
collections.OrderedDict
| CORE_LOCALIZATION_METHOD | ||
collections.OrderedDict
| DFT_FUNC |
|
|||
Inherited from |
|
Perform tab specific initialization. This function should be defined in subclasses if initialization is needed.
|
The mmjag default DFT functional name is "", which would cause a HF level of theory. Instead, set a default functional of B3LYP.
|
Creates and populates the DFTComboRadioSelector GUI element using DFT_RECOMMENDED_FUNCS for source data. This provides the interface for the user to select from the recommended DFT functionals. |
Get the current theory level
|
Get the current method. If the level of theory is DFT, the method is the functional (ex. "B3LYP" or "PWB6K"). For all other levels of theory, the method is the level of theory ("HF" or "LMP2").
|
Get the current DFT functional (ex. "B3LYP" or "PWB6K"). If the theory level is not DFT, then None will be returned.
|
Get the current DFT functional. This function should only be used when the theory level is DFT.
|
Return whether spin unrestricted check box is checked or not
|
Return whether excited state check box is checked or not
|
Return the current Hamiltonian setting
|
Return all keywords that should be put into the mmjag handle. This function should be defined in subclasses.
|
Get all keywords related to grid density
|
Get all keywords related to excited state settings
|
Get all keywords related to LMP2 settings
|
Restore tab settings from mmjag keywords. This function should be defined in subclasses.
|
Sanity check the specified mmjag settings and make sure that we can uniquely determine a level of theory.
|
Determine the level of theory specified by given settings. If a non- default LMP2 level is specified, a warning will be issued.
|
Load the specified mmjag spin and excited settings into the given theory level and reset the spin and excited settings for the other theory levels.
|
Load the "spin restriction" and "excited state" settings from a JaguarInput object into the GUI
|
If the theory level is DFT, load the specified functional from the mmjag handle. If the theory level isn't DFT, reset the DFT functional.
|
Load the DFT functional setting from a JaguarInput object into the GUI. If no functional or an unknown functional is specified, a warning will be issued.
|
Set the GUI to the specified DFT functional
|
Load the grid density settings from a JaguarInput object into the GUI. If the settings do not match any of the GUI grid density options, a warning will be issued.
|
Load the LMP2 settings from a JaguarInput object into the GUI. If unknown values are specified, a warning will be issued.
|
Load the Hamiltonian settings from a JaguarInput object into the GUI. If unknown values are specified, a warning will be issued.
|
Return True if the tab current specified both LMP2 and ZORA (which aren't allowed simultaneously). False otherwise. |
|
THEORY_INDICESA dictionary of {index in the theory combo box: theory name}. Note that this combo box is populated in the ui file, so this dictionary must agree with the ui file.
|
THEORY_TO_INDEXA dictionary of {theory name: index in the theory drop down} (i.e. the reverse of THEORY_INDICES)
|
CORE_LOCALIZATION_METHODSAn OrderedDict of {localization method: mmjag keyword value} used to populate the core localization combo box.
|
VALENCE_LOCALIZATION_METHODSAn OrderedDict of {localization method: mmjag keyword value} used to populate the valence localization combo box.
|
RESONANCEAn OrderedDict of {resonance method: mmjag keyword value} used to populate the resonance combo box.
|
DFT_RECOMMENDED_FUNCSAn ordered dict of {category name: list of functionals} mapping the category name for recommended functionals to a list of DFT functional names in that category.
|
DFT_OTHERA tuple of DFT functionals user to populate the other functionals combo box. Each tuple element should be either:
|
LMP2_KEYWORDSA set of keywords that may only appear if the level of theory is LMP2. This set is used in loadSettings for validation purposes.
|
DFT_OR_HF_KEYWORDSA set of keywords that may only appear if the level of theory is HF or DFT. This set is used in loadSettings for validation purposes.
|
DFT_GRID_KEYWORDSA set of keywords that correspond to DFT grid density. This set is used in loadSettings for validation purposes.
|
DFT_ONLY_KEYWORDSA set of keywords that may only appear if the level of theory is DFT. This set is used in loadSettings for validation purposes. Note that keywords in DFT_GRID_KEYWORDS do not need to be repeated here.
|
GRID_DENSITYAn OrderedDict of {grid density name: (gdftmed value, gdftfine value, gdftgrad value)} used to populate the grid density combo box.
|
GRID_DENSITY_REVAn OrderedDict of {(gdftmed value, gdftfine value, gdftgrad value): grid density name} (i.e. the reverse of GRID_DENSITY)
|
EXCITED_STATE_TYPES
|
HAMILTONIAN
|
spinTreatmentChangedA signal emitted when the spin treatment changes. No arguments are emitted. Note that this signal is not emitted when the theory level changes from DFT to HF, even if that results in a change in the state of the spin unrestricted checkbox. The theory_level_changed signal will be emitted in those cases, however, and the state of the spin unrestricted checkbox can be queried viagetSpinUnrestricted .
|
excited_state_changedA signal emitted when the state of the 'Excited state' checkbox changes. No arguments are emitted. The state of the excited state checkbox can be queried via getExcitedState.
|
hamiltonianChangedA signal emitted when the Hamiltonian changes. No arguments are emitted. The current Hamiltonian can be queried via getHamiltonian.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Aug 6 04:50:37 2015 | http://epydoc.sourceforge.net |