Skip to content

Commit

Permalink
print beta after finish computation
Browse files Browse the repository at this point in the history
  • Loading branch information
ahurta92 committed Jul 1, 2024
1 parent e1c4b8e commit 4b2e89b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/apps/molresponse/testing/runners.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1096,6 +1096,13 @@ void runQuadraticResponse(World &world, const frequencySchema &schema, const std

quad_calculation.set_x_data(world, omegas, restarts);
auto beta_abc = quad_calculation.compute_beta(world);
// print the beta values for the frequency combination
if (world.rank() == 0) {
print("Beta values for omega_a = ", omega_a, " omega_b = ", omega_b, " omega_c = ",
omega_c);
print(beta_abc);
}

nlohmann::ordered_json beta_entry;
//beta_entry["omega_a"] = omega_a;
//beta_entry["omega_b"] = omega_b;
Expand Down

0 comments on commit 4b2e89b

Please sign in to comment.