Skip to content
Snippets Groups Projects

Fix and improvement of the Slater potential

Merged Nicolas Tancogne-Dejean requested to merge bugfix_slater2 into hotfix-10.1
5 files
+ 74
4
Compare changes
  • Side-by-side
  • Inline
Files
5
+ 5
1
@@ -396,7 +396,11 @@ contains
if(bitand(ks%xc_family, XC_FAMILY_OEP) /= 0) then
if (gr%have_fine_mesh) call messages_not_implemented("OEP functionals with UseFineMesh", namespace=namespace)
call xc_oep_init(ks%oep, namespace, ks%xc_family, gr, st, geo, mc)
if (ks%xc%functional(FUNC_X,1)%id /= XC_OEP_X_SLATER) then
call xc_oep_init(ks%oep, namespace, ks%xc_family, gr, st, geo, mc)
else
ks%oep%level = XC_OEP_NONE
end if
else
ks%oep%level = XC_OEP_NONE
end if
Loading