New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: Adds conv thresh for supermolec complex opt #776
Conversation
psi4/src/psi4/optking/set_params.cc
Outdated
Opt_params.conv_max_disp = 6.0e-4; Opt_params.i_max_disp = true; | ||
Opt_params.conv_rms_disp = 4.0e-4; Opt_params.i_rms_disp = true; | ||
} | ||
if (Opt_params.general_conv == "GAU_VERYTIGHT") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why if
not else if
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops, that was meant to be an else if
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can add to docs table (https://github.com/psi4/psi4/blob/master/doc/sphinxman/source/optking.rst) while you're at it.
psi4/src/psi4/optking/set_params.cc
Outdated
else if (Opt_params.general_conv == "GAU_VERYTIGHT") { | ||
else if (Opt_params.general_conv == "INTERFRAG_GAU_TIGHT") { | ||
Opt_params.i_untampered = true; | ||
Opt_params.conv_max_DE = 1.0e-6; Opt_params.i_max_DE = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since you're changing two convcrit (disp) and actually adding one (dE), I might advocate just INTERFRAG_TIGHT
or INTERMOL_TIGHT
.
Yeah, I think I would prefer a new name like INTERMOL_TIGHT instead of
INTERFRAG_GAU_TIGHT. One reason is that this gives us more flexibility to
change it in the future as we get more experience.... I consider the
current thresholds only draft values for now.
…On Mon, Aug 7, 2017 at 4:30 PM, Lori A. Burns ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In psi4/src/psi4/optking/set_params.cc
<#776 (comment)>:
> @@ -314,7 +314,15 @@ void set_params(void)
Opt_params.conv_max_disp = 6.0e-5; Opt_params.i_max_disp = true;
Opt_params.conv_rms_disp = 4.0e-5; Opt_params.i_rms_disp = true;
}
- else if (Opt_params.general_conv == "GAU_VERYTIGHT") {
+ else if (Opt_params.general_conv == "INTERFRAG_GAU_TIGHT") {
+ Opt_params.i_untampered = true;
+ Opt_params.conv_max_DE = 1.0e-6; Opt_params.i_max_DE = true;
+ Opt_params.conv_max_force = 1.5e-5; Opt_params.i_max_force = true;
+ Opt_params.conv_rms_force = 1.0e-5; Opt_params.i_rms_force = true;
+ Opt_params.conv_max_disp = 6.0e-4; Opt_params.i_max_disp = true;
+ Opt_params.conv_rms_disp = 4.0e-4; Opt_params.i_rms_disp = true;
+ }
+if (Opt_params.general_conv == "GAU_VERYTIGHT") {
can add to docs table (https://github.com/psi4/psi4/
blob/master/doc/sphinxman/source/optking.rst) while you're at it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#776 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AC9QdqlO15ZkHyA9m3xMJZLDs5vmFfDJks5sV3QDgaJpZM4Ov5kh>
.
|
psi4/src/read_options.cc
Outdated
@@ -2419,7 +2419,7 @@ int read_options(const std::string &name, Options & options, bool suppress_print | |||
/*- Set of optimization criteria. Specification of any MAX_*_G_CONVERGENCE | |||
or RMS_*_G_CONVERGENCE options will append to overwrite the criteria set here | |||
unless |optking__flexible_g_convergence| is also on. See Table :ref:`Geometry Convergence <table:optkingconv>` for details. -*/ | |||
options.add_str("G_CONVERGENCE", "QCHEM", "QCHEM MOLPRO GAU GAU_LOOSE GAU_TIGHT GAU_VERYTIGHT TURBOMOLE CFOUR NWCHEM_LOOSE"); | |||
options.add_str("G_CONVERGENCE", "QCHEM", "QCHEM MOLPRO GAU GAU_LOOSE GAU_TIGHT INTERFRAG_GAU_TIGHT GAU_VERYTIGHT TURBOMOLE CFOUR NWCHEM_LOOSE"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
going to have to change kw here, too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dsirianni Can you patch this so we can get it in?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Adds convergence threshold option for geometry optimization of supermolecular complexes which is slight relaxation of
g_convergence gau_tight
criteria which allows for:max_disp
andrms_disp
displacement criteria.These criteria allow for successful optimization on flat potential surfaces, especially those associated with interfragment (supermolecular) geometry optimizations.
Todos
Adds
interfrag_gau_tight
value tog_convergence
OPTKING convergence threshold control keyword.g_convergence
components.Questions
interfrag_gau_tight
vs.gau_tight_interfrag
? One one hand, it's a modification ofgau_tight
, but on the other hand, it has no counterpart within the Gaussian package.Status