Skip to content

Commit

Permalink
Remove unncessary printing
Browse files Browse the repository at this point in the history
  • Loading branch information
ahurta92 committed Jul 1, 2024
1 parent f85215a commit 1b6965d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/apps/molresponse/FrequencyResponse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,12 +258,12 @@ auto FrequencyResponse::update_response(World &world, X_space &chi, XCOperator<d

auto x = chi.copy();
auto chi_norm = x.norm2s();
if (world.rank() == 0) { print("x before bsh update: ", chi_norm); }
//if (world.rank() == 0) { print("x before bsh update: ", chi_norm); }
X_space theta_X = compute_theta_X(world, x, rho_old, xc, r_params.calc_type());
X_space new_chi = bsh_update_response(world, theta_X, bsh_x_ops, bsh_y_ops, projector, x_shifts);

chi_norm = new_chi.norm2s();
if (world.rank() == 0) { print("new_chi_norm after bsh update: ", chi_norm); }
//if (world.rank() == 0) { print("new_chi_norm after bsh update: ", chi_norm); }

inner_to_json(world, "x_new", response_context.inner(new_chi, new_chi), iter_function_data);

Expand Down
4 changes: 2 additions & 2 deletions src/apps/molresponse/ResponseBase.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,11 @@ class J1StrategyStable : public J1Strategy {
const poperatorT &coulomb_ops) const override {

X_space J = X_space::zero_functions(world, x.num_states(), x.num_orbitals());
if (world.rank() == 0) { print("J1StrategyStable"); }
//if (world.rank() == 0) { print("J1StrategyStable"); }
vector_real_function_3d temp_J(3);
for (const auto &b: x.active) {
temp_J[b] = apply(*coulomb_ops, rho1[b]);
if (true) {
if (false) {
auto norm = temp_J[b].norm2();
if (world.rank() == 0) print("norm of temp_J:", norm);
}
Expand Down

0 comments on commit 1b6965d

Please sign in to comment.