Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

Commit

Permalink
small bugfix - now correct enabling of CCSD in ORCA input dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
lenkd authored and ghutchis committed Jun 7, 2016
1 parent 50bef60 commit 386374d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libavogadro/src/extensions/orca/orcainputdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ OrcaInputDialog::OrcaInputDialog(QWidget *parent, Qt::WindowFlags f ) :
connect( ui.controlCosXCheck, SIGNAL( toggled( bool ) ), this, SLOT( setControlUseCosX( bool ) ) );
connect( ui.controlDFTCheck, SIGNAL( toggled( bool ) ), this, SLOT( setControlUseDFT( bool ) ) );
connect( ui.controlMP2Check, SIGNAL( toggled( bool ) ),this, SLOT( setControlUseMP2( bool ) ) );
connect( ui.controlCCSDCheck, SIGNAL( toggled( bool ) ),this, SLOT( setControlUseCCSD( bool ) ) );

// Advanced SCF Slots

Expand Down Expand Up @@ -816,8 +817,9 @@ OrcaInputDialog::OrcaInputDialog(QWidget *parent, Qt::WindowFlags f ) :

if (value) {
ui.controlDFTCheck->setEnabled(!value);
ui.controlCCSDCheck->setEnabled(false);
ui.basisAuxCorrBasisSetCombo->setEnabled(value);
// ui.basisAuxCorrECPCheck->setEnabled(value);
// ui.basisAuxCorrECPCheck->setEnabled(value);

if (!controlData->cosXEnabled()) {
ui.basisAuxBasisSetCombo->setEnabled(!value);
Expand Down Expand Up @@ -1095,6 +1097,8 @@ OrcaInputDialog::OrcaInputDialog(QWidget *parent, Qt::WindowFlags f ) :
}
} else if ( controlData->mp2Enabled()) {
mol << "RI-MP2 ";
} else if ( controlData->ccsdEnabled()) {
mol << "CCSD ";
} else {
mol << scfData->getTypeTxt() << " ";
}
Expand Down

0 comments on commit 386374d

Please sign in to comment.