Skip to content

Commit

Permalink
Add missing solvation contribution for the inner region (#673)
Browse files Browse the repository at this point in the history
  • Loading branch information
Albkat authored Jul 29, 2022
1 parent 9096eee commit 1922dd3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/oniom.f90
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,10 @@ subroutine singlepoint(self, env, mol, chk, printlevel, restart, energy, gradien
call move_alloc(gff, self%model_low)

end select

if (allocated(self%real_low%solvation)) then
self%model_low%solvation = self%real_low%solvation
end if
call env%check(exitRun)
if (exitRun) then
call env%error("Could not setup low level method")
Expand Down Expand Up @@ -300,6 +304,10 @@ subroutine singlepoint(self, env, mol, chk, printlevel, restart, energy, gradien
call move_alloc(turbo, self%model_high)

end select

if (allocated(self%real_low%solvation)) then
self%model_high%solvation = self%real_low%solvation
end if
call env%check(exitRun)
if (exitRun) then
call env%error("Could not setup high level method")
Expand Down

0 comments on commit 1922dd3

Please sign in to comment.