Package schrodinger :: Package application :: Package jaguar :: Package gui :: Package tabs :: Module scf_tab :: Class ScfTab
[hide private]
[frames] | no frames]

Class ScfTab

       object --+                    
                |                    
sip.simplewrapper --+                
                    |                
          sip.wrapper --+            
                        |            
     PyQt4.QtCore.QObject --+        
                            |        
           object --+       |        
                    |       |        
    sip.simplewrapper --+   |        
                        |   |        
 PyQt4.QtGui.QPaintDevice --+        
                            |        
          PyQt4.QtGui.QWidget --+    
                                |    
                 base_tab.BaseTab --+
                                    |
                                   ScfTab
Known Subclasses:

This is the basic SCF tab that is used for majority of tasks.

Nested Classes [hide private]

Inherited from PyQt4.QtGui.QWidget: RenderFlag, RenderFlags

Inherited from PyQt4.QtGui.QPaintDevice: PaintDeviceMetric

Instance Methods [hide private]
 
setup(self)
Common setup for all SCF tabs.
 
thermalSmearingChanged(self, index)
This function is used to enable or disable initial temperature widgets depending on thermal smearing method.
dict
getMmJagKeywords(self)
Return all keywords that should be put into the mmjag handle.
dict
getAccuracyAndInitialGuessKeywords(self)
Get the accuracy and initial guess keywords
dict
getConvergenceCriteriaKeywords(self)
Get keywords from the Convergence criteria frame
dict
getConvergenceMethodsKeywords(self)
Get keywords from the Convergence methods frame
dict
getOrbitalsKeywords(self)
Get keywords from the Orbitals frame
 
loadSettings(self, jag_input)
Restore tab settings from mmjag keywords.
 
loadAccuracyAndInitialGuessSettings(self, jag_input)
Load the accuracy and initial guess settings.
 
loadConvergenceCriteriaSettings(self, jag_input)
Load settings into the Convergence criteria frame
 
loadConvergenceMethodsSettings(self, jag_input)
Load settings into the Convergence methods frame
 
loadOrbitalsSettings(self, jag_input)
Load settings into the Orbitals frame

Inherited from base_tab.BaseTab: __init__, activate, deactivate, error, getDefaultKeywords, loadPerAtomSettings, reset, saveSettings, validate, warning

Inherited from base_tab.BaseTab (private): _populateUi

Inherited from PyQt4.QtGui.QWidget: acceptDrops, accessibleDescription, accessibleName, actionEvent, actions, activateWindow, addAction, addActions, adjustSize, autoFillBackground, backgroundRole, baseSize, changeEvent, childAt, childrenRect, childrenRegion, clearFocus, clearMask, close, closeEvent, contentsMargins, contentsRect, contextMenuEvent, contextMenuPolicy, create, cursor, customContextMenuRequested, destroy, devType, dragEnterEvent, dragLeaveEvent, dragMoveEvent, dropEvent, effectiveWinId, enabledChange, ensurePolished, enterEvent, event, find, focusInEvent, focusNextChild, focusNextPrevChild, focusOutEvent, focusPolicy, focusPreviousChild, focusProxy, focusWidget, font, fontChange, fontInfo, fontMetrics, foregroundRole, frameGeometry, frameSize, geometry, getContentsMargins, grabGesture, grabKeyboard, grabMouse, grabShortcut, graphicsEffect, graphicsProxyWidget, handle, hasFocus, hasMouseTracking, height, heightForWidth, hide, hideEvent, inputContext, inputMethodEvent, inputMethodHints, inputMethodQuery, insertAction, insertActions, isActiveWindow, isAncestorOf, isEnabled, isEnabledTo, isEnabledToTLW, isFullScreen, isHidden, isLeftToRight, isMaximized, isMinimized, isModal, isRightToLeft, isTopLevel, isVisible, isVisibleTo, isWindow, isWindowModified, keyPressEvent, keyReleaseEvent, keyboardGrabber, languageChange, layout, layoutDirection, leaveEvent, locale, lower, mapFrom, mapFromGlobal, mapFromParent, mapTo, mapToGlobal, mapToParent, mask, maximumHeight, maximumSize, maximumWidth, metric, minimumHeight, minimumSize, minimumSizeHint, minimumWidth, mouseDoubleClickEvent, mouseGrabber, mouseMoveEvent, mousePressEvent, mouseReleaseEvent, move, moveEvent, nativeParentWidget, nextInFocusChain, normalGeometry, overrideWindowFlags, overrideWindowState, paintEngine, paintEvent, palette, paletteChange, parentWidget, pos, previousInFocusChain, raise_, rect, releaseKeyboard, releaseMouse, releaseShortcut, removeAction, render, repaint, resetInputContext, resize, resizeEvent, restoreGeometry, saveGeometry, scroll, setAcceptDrops, setAccessibleDescription, setAccessibleName, setAttribute, setAutoFillBackground, setBackgroundRole, setBaseSize, setContentsMargins, setContextMenuPolicy, setCursor, setDisabled, setEnabled, setFixedHeight, setFixedSize, setFixedWidth, setFocus, setFocusPolicy, setFocusProxy, setFont, setForegroundRole, setGeometry, setGraphicsEffect, setHidden, setInputContext, setInputMethodHints, setLayout, setLayoutDirection, setLocale, setMask, setMaximumHeight, setMaximumSize, setMaximumWidth, setMinimumHeight, setMinimumSize, setMinimumWidth, setMouseTracking, setPalette, setParent, setShortcutAutoRepeat, setShortcutEnabled, setShown, setSizeIncrement, setSizePolicy, setStatusTip, setStyle, setStyleSheet, setTabOrder, setToolTip, setUpdatesEnabled, setVisible, setWhatsThis, setWindowFilePath, setWindowFlags, setWindowIcon, setWindowIconText, setWindowModality, setWindowModified, setWindowOpacity, setWindowRole, setWindowState, setWindowTitle, show, showEvent, showFullScreen, showMaximized, showMinimized, showNormal, size, sizeHint, sizeIncrement, sizePolicy, stackUnder, statusTip, style, styleSheet, tabletEvent, testAttribute, toolTip, topLevelWidget, underMouse, ungrabGesture, unsetCursor, unsetLayoutDirection, unsetLocale, update, updateGeometry, updateMicroFocus, updatesEnabled, visibleRegion, whatsThis, wheelEvent, width, winId, window, windowActivationChange, windowFilePath, windowFlags, windowIcon, windowIconText, windowModality, windowOpacity, windowRole, windowState, windowTitle, windowType, x, x11Info, x11PictureHandle, y

Inherited from PyQt4.QtCore.QObject: __getattr__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, destroyed, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, eventFilter, findChild, findChildren, inherits, installEventFilter, isWidgetType, killTimer, metaObject, moveToThread, objectName, parent, property, pyqtConfigure, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr, trUtf8

Inherited from PyQt4.QtGui.QPaintDevice: colorCount, depth, heightMM, logicalDpiX, logicalDpiY, numColors, paintingActive, physicalDpiX, physicalDpiY, widthMM

Inherited from sip.simplewrapper: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
str NAME = 'SCF'
The name of the tab
tuple UI_MODULES = (<module 'schrodinger.application.jaguar.gui.ui.s...
A tuple of ui modules defining the tab widgets.
str HELP_TOPIC = 'JAGUAR_TOPIC_SCF_FOLDER'
The help topic for the tab
  INCLUDE_USE_CONSISTENT_ORBITALS_CB = False
hash(x)
  FULLY_ANALYTIC_ACCURACY = 'FULLY_ANALYTIC_ACCURACY'
  ACCURACY_LEVELS = OrderedDict([('Quick', 3), ('Accurate', 2), ...
  INITIAL_GUESS_OPTS = OrderedDict([('Atomic overlap', 10), ('At...
  THERMAL_SMEARING_OPTS = OrderedDict([('None', 0), ('FON', 1), ...
  CONVERGENCE_SCHEME_OPTS = OrderedDict([('DIIS', 1), ('OCBSE', ...
  LOCALIZATION_METHODS = OrderedDict([('None', 0), ('Pipek-Mezey...

Inherited from PyQt4.QtGui.QWidget: DrawChildren, DrawWindowBackground, IgnoreMask

Inherited from PyQt4.QtCore.QObject: staticMetaObject

Inherited from PyQt4.QtGui.QPaintDevice: PdmDepth, PdmDpiX, PdmDpiY, PdmHeight, PdmHeightMM, PdmNumColors, PdmPhysicalDpiX, PdmPhysicalDpiY, PdmWidth, PdmWidthMM

Instance Variables [hide private]

Inherited from base_tab.BaseTab: input_selector, task_name, ui

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setup(self)

 

Common setup for all SCF tabs.

Overrides: base_tab.BaseTab.setup

thermalSmearingChanged(self, index)

 

This function is used to enable or disable initial temperature widgets depending on thermal smearing method.

Parameters:
  • index (int) - thermal smearing combo box index (0 is 'None')

getMmJagKeywords(self)

 

Return all keywords that should be put into the mmjag handle. This function should be defined in subclasses.

Returns: dict
All keywords that should be put into the mmjag handle
Raises:
Overrides: base_tab.BaseTab.getMmJagKeywords
(inherited documentation)

getAccuracyAndInitialGuessKeywords(self)

 

Get the accuracy and initial guess keywords

Returns: dict
A dictionary of keywords

getConvergenceCriteriaKeywords(self)

 

Get keywords from the Convergence criteria frame

Returns: dict
A dictionary of keywords

getConvergenceMethodsKeywords(self)

 

Get keywords from the Convergence methods frame

Returns: dict
A dictionary of keywords

getOrbitalsKeywords(self)

 

Get keywords from the Orbitals frame

Returns: dict
A dictionary of keywords

loadSettings(self, jag_input)

 

Restore tab settings from mmjag keywords. This function should be defined in subclasses.

Parameters:
  • jag_input - The Jaguar settings to base the tab settings on
Overrides: base_tab.BaseTab.loadSettings
(inherited documentation)

loadAccuracyAndInitialGuessSettings(self, jag_input)

 

Load the accuracy and initial guess settings.

Parameters:

loadConvergenceCriteriaSettings(self, jag_input)

 

Load settings into the Convergence criteria frame

Parameters:

loadConvergenceMethodsSettings(self, jag_input)

 

Load settings into the Convergence methods frame

Parameters:

loadOrbitalsSettings(self, jag_input)

 

Load settings into the Orbitals frame

Parameters:

Class Variable Details [hide private]

UI_MODULES

A tuple of ui modules defining the tab widgets. These ui modules should be listed top to bottom. Optionally, a tuple of (tab class, attribute name) may be listed instead of a ui file to include a subtab.
Type:
tuple
Value:
(<module 'schrodinger.application.jaguar.gui.ui.scf_tab_ui' from '/scr\
/buildbot/savedbuilds/NB/2016-4/build-126/mmshare-v3.6/lib/Linux-x86_6\
4/lib/python2.7/site-packages/schrodinger/application/jaguar/gui/ui/sc\
f_tab_ui.pyc'>)

ACCURACY_LEVELS

Value:
OrderedDict([('Quick', 3), ('Accurate', 2), ('Ultrafine', 1), ('Fully \
analytic', 'FULLY_ANALYTIC_ACCURACY')])

INITIAL_GUESS_OPTS

Value:
OrderedDict([('Atomic overlap', 10), ('Atomic density', 11), ('Core Ha\
miltonian', 0), ('Ligand field theory', 25), ('Ligand field theory wit\
h d-d repulsion', 30)])

THERMAL_SMEARING_OPTS

Value:
OrderedDict([('None', 0), ('FON', 1), ('pFON', 2)])

CONVERGENCE_SCHEME_OPTS

Value:
OrderedDict([('DIIS', 1), ('OCBSE', 3), ('GVB - DIIS', 4)])

LOCALIZATION_METHODS

Value:
OrderedDict([('None', 0), ('Pipek-Mezey', 2), ('Boys', 1), ('Pipek-Mez\
ey (alt)', 3)])