mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-28 06:05:44 -04:00
restored lagrangian multiplier correction to the energy
for the case when the potential is not corrected
This commit is contained in:
parent
4f8737aeda
commit
68d7a32d58
1 changed files with 5 additions and 1 deletions
|
|
@ -1176,9 +1176,13 @@ c
|
|||
elcefc = ddot(nefc,efcz,1,dbl_mb(i12),1)
|
||||
c solnrg= pt5* allefc + elambda
|
||||
solnrg = pt5*allefc
|
||||
ecos = pt5*(atmefc-elcefc)
|
||||
c COSMO contribution Alternative 2 (Ref.[1] Eq.(11))
|
||||
c ecos = pt5*(atmefc-elcefc)+elambda
|
||||
ecos = pt5*(atmefc-elcefc)
|
||||
c add lagrangian multiplier correction to the energy
|
||||
c when the potential is not corrected
|
||||
c
|
||||
if(.not.cosmo_ptcor) ecos=ecos+elambda
|
||||
|
||||
if (oprint_energies) then
|
||||
write(luout,*)'Alternative 2'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue