mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-29 06:35:39 -04:00
set dolap=t only when XC_FLAGS_NEEDS_LAPLACIAN is set
This commit is contained in:
parent
3f10db4e42
commit
0685b53433
1 changed files with 4 additions and 1 deletions
|
|
@ -219,10 +219,13 @@
|
|||
call dfill(nq,0d0,dbl_mb(kexc),1)
|
||||
endif
|
||||
|
||||
case (XC_FLAGS_NEEDS_LAPLACIAN)
|
||||
dolap = .true.
|
||||
if(dolap.and.(.not.kslap)) call
|
||||
E errquit(' dolap=t & kslap=f',0,0)
|
||||
case (XC_FAMILY_MGGA, XC_FAMILY_HYB_MGGA)
|
||||
gga = .true.
|
||||
mgga = .true.
|
||||
dolap = .true.
|
||||
|
||||
|
||||
if (iand(libxc_flags(ifunc),xc_flags_have_exc).eq.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue