Skip to content

Commit

Permalink
Print the negatative of omeaga A to beta.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ahurta92 committed Jul 1, 2024
1 parent dbf6123 commit fceb34e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/apps/molresponse/maddft/response_manager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@ class ResponseCalcManager

std::array<double, 18> beta_vector{};
std::copy(beta_abc.ptr(), beta_abc.ptr() + 3 * 6, beta_vector.begin());
append_to_beta_json({omega_a, omega_b, omega_c}, beta_vector, beta_json);
append_to_beta_json({-1.0 * omega_a, omega_b, omega_c}, beta_vector, beta_json);

std::ofstream outfile("beta.json");
if (outfile.is_open())
Expand All @@ -1179,12 +1179,6 @@ class ResponseCalcManager
}
}

// // print the beta table
// if (world.rank() == 0)
// {
// ::print(beta_json.dump(4));
// }

// write the beta json to file
std::ofstream ofs("beta.json");
ofs << std::setw(4) << beta_json << std::endl;
Expand Down

0 comments on commit fceb34e

Please sign in to comment.