Skip to content

Commit

Permalink
Remove prints.
Browse files Browse the repository at this point in the history
  • Loading branch information
NikoOinonen committed Oct 18, 2024
1 parent e444c94 commit 35a3fc7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ppafm/cli/conv_rho.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,8 @@ def main():

if args.density_cutoff:
print(f">>> Applying a density cutoff of {args.density_cutoff} to sample and tip electron densities.")
print(rho_sample.max(), rho_tip.max())
rho_sample[rho_sample > args.density_cutoff] = args.density_cutoff
rho_tip[rho_tip > args.density_cutoff] = args.density_cutoff
print(rho_sample.max(), rho_tip.max())

print(">>> Evaluating convolution E(R) = A*Integral_r ( rho_tip^B(r-R) * rho_sample^B(r) ) using FFT ... ")
f_x, f_y, f_z, energy = fieldFFT.potential2forces_mem(rho_sample, lvec_sample, n_dim_sample, rho=rho_tip, doForce=True, doPot=True, deleteV=True)
Expand Down

0 comments on commit 35a3fc7

Please sign in to comment.