Skip to content

Commit

Permalink
Tighten thresh
Browse files Browse the repository at this point in the history
  • Loading branch information
ahurta92 committed Oct 20, 2023
1 parent b156bb9 commit 3fb91bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/apps/molresponse/testing/runners.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ void runMOLDFT(World &world, const moldftSchema &moldftSchema, bool try_run, boo
param1.set_user_defined_value<vector<double>>("protocol", {1e-4, 1e-6});
param1.set_user_defined_value<double>("dconv", 1e-4);
} else if (precision == "high") {
param1.set_user_defined_value<vector<double>>("protocol", {1e-4, 1e-6, 1e-7});
param1.set_user_defined_value<vector<double>>("protocol", {1e-4, 1e-6, 1e-8});
param1.set_user_defined_value<double>("dconv", 1e-6);
} else {
param1.set_user_defined_value<vector<double>>("protocol", {1e-8});
Expand Down Expand Up @@ -471,7 +471,7 @@ void set_excited_parameters(World &world, ResponseParameters &r_params, const st

if (world.rank() == 0) {
if (precision == "high") {
r_params.set_user_defined_value<vector<double>>("protocol", {1e-4, 1e-6, 1e-7});
r_params.set_user_defined_value<vector<double>>("protocol", {1e-4, 1e-6, 1e-8});
r_params.set_user_defined_value<double>("dconv", 1e-6);
} else if (precision == "low") {
r_params.set_user_defined_value<vector<double>>("protocol", {1e-4, 1e-6});
Expand Down Expand Up @@ -522,7 +522,7 @@ void setHyperpolarizabilityParameters(World &world, ResponseParameters &r_params
// r_params.set_user_defined_value("property", property);

if (precision == "high") {
r_params.set_user_defined_value<vector<double>>("protocol", {1e-7});
r_params.set_user_defined_value<vector<double>>("protocol", {1e-8});
r_params.set_user_defined_value<double>("dconv", 1e-6);
} else if (precision == "low") {
r_params.set_user_defined_value<vector<double>>("protocol", {1e-6});
Expand All @@ -544,7 +544,7 @@ void set_frequency_response_parameters(World &world, ResponseParameters &r_param
const std::string &xc, const double &frequency, const std::string &precision) {
if (world.rank() == 0) {
if (precision == "high") {
r_params.set_user_defined_value<vector<double>>("protocol", {1e-4, 1e-6, 1e-7});
r_params.set_user_defined_value<vector<double>>("protocol", {1e-4, 1e-6, 1e-8});
r_params.set_user_defined_value<double>("dconv", 1e-6);
} else if (precision == "low") {
r_params.set_user_defined_value<vector<double>>("protocol", {1e-4, 1e-6});
Expand Down

0 comments on commit 3fb91bb

Please sign in to comment.