Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
rybkinjr committed Jun 12, 2019
1 parent c8cd407 commit 4519a8a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions src/force_env_methods.F
Original file line number Diff line number Diff line change
Expand Up @@ -1715,6 +1715,7 @@ SUBROUTINE dfet_embedding(force_env, ref_subsys_number, energies, converged_embe
ENDDO
embed_pot%pw%cr3d(:, :, :) = embed_pot%pw%cr3d(:, :, :)+opt_embed%pot_diff%pw%cr3d(:, :, :)
IF (.NOT. opt_embed%grid_opt) CALL pw_copy(embed_pot%pw, opt_embed%const_pot%pw)
DEALLOCATE (rhs)
ENDIF
Expand Down
4 changes: 0 additions & 4 deletions src/qs_environment_types.F
Original file line number Diff line number Diff line change
Expand Up @@ -1522,10 +1522,6 @@ SUBROUTINE qs_env_release(qs_env)
DEALLOCATE (qs_env%WannierCentres)
ENDIF

! Resp charges
IF (ASSOCIATED(qs_env%rhs)) DEALLOCATE (qs_env%rhs)

! Embedding potentials if provided as input
! now we are ready to deallocate the full structure
DEALLOCATE (qs_env)
END IF
Expand Down

0 comments on commit 4519a8a

Please sign in to comment.