Skip to content

Feature: Implementations of Range-Separated Hybrid Functionals #6220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 466 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
466 commits
Select commit Hold shift + click to select a range
939fbee
fix get_Gvec
1041176461 Apr 20, 2024
bfba5cf
Fix: modify G calculations
1041176461 Apr 21, 2024
7291b17
fix singular value
1041176461 Apr 22, 2024
1113cbe
fix cal_fq_type_1
1041176461 Apr 23, 2024
4f638a2
fix singularity
1041176461 Apr 28, 2024
3351867
add OpenMP reduction in lattice_sum
1041176461 Apr 28, 2024
c60033e
add mpi for gauss_Vq
1041176461 Apr 29, 2024
3710273
MPI distribute
1041176461 Apr 30, 2024
1d1695a
fix compile bug 1
1041176461 May 5, 2024
48496c7
fix compile bug 2
1041176461 May 6, 2024
cac3f19
accelerate lattice_sum
1041176461 May 6, 2024
e772d07
add Rcut for list
1041176461 May 7, 2024
560a60c
Merge branch 'deepmodeling:develop' into develop
1041176461 May 8, 2024
4c733fc
add mpi
1041176461 May 8, 2024
a6d209c
add default input for fq_type0
1041176461 May 12, 2024
93e1996
fix fq_type_0
1041176461 May 12, 2024
10a09f2
fix ylm settings bug
1041176461 May 17, 2024
33b8ba4
fix multipole bug
1041176461 May 24, 2024
a64ef67
add gauss Rcut
1041176461 May 27, 2024
6e23676
Fix: delete custom Rmax for exx
1041176461 May 28, 2024
e965c28
fix bug in initializing gauss
1041176461 May 28, 2024
797b4c7
modify gauss settings
1041176461 May 28, 2024
af4e3a4
Refactor: abfs and gauss rcut settings
1041176461 May 29, 2024
9ff20c0
Hard coded ewald_lambda
1041176461 May 31, 2024
f01e456
Feature: add singluarity correction
1041176461 Jun 1, 2024
32832c8
Fix: fq_type_1 bug
1041176461 Jun 1, 2024
29da8bc
Feature: Hard coded singular correction params
1041176461 Jun 2, 2024
84d27e0
format
1041176461 Jun 4, 2024
12e3cb3
Fix: bug of MPI distribution
1041176461 Jun 6, 2024
dd48baf
modify default value for fq_type
1041176461 Jun 6, 2024
811296b
Fix: bug in Exx_LRI_interface
1041176461 Jun 6, 2024
70757fa
set Nr to odd value
1041176461 Jun 10, 2024
a1ce0a1
Refactor: set chi and init parallel
1041176461 Jun 11, 2024
f80c4c7
Fix: fix last refactor
1041176461 Jun 12, 2024
9c0273e
add Vws for cal_Vs_gauss
1041176461 Jun 12, 2024
61a9783
Feature: add dVq gauss
1041176461 Jun 12, 2024
07712f7
modify dVq dtype
1041176461 Jun 12, 2024
cec99e3
fix format error
1041176461 Jun 12, 2024
2ed1937
format
1041176461 Jun 12, 2024
effa682
delete const
1041176461 Jun 12, 2024
1c59e00
compile bug
1041176461 Jun 12, 2024
7358db6
Fix: modify full_R to period_R
1041176461 Jun 13, 2024
f8540e5
Fix: check_cell match with RI_2D_Comm
1041176461 Jun 13, 2024
ed179c9
fix compile bug
1041176461 Jun 13, 2024
6772daa
Refactor: gauss lattice sum
1041176461 Jun 14, 2024
03c8979
Refactor: init ylm and use template
1041176461 Jun 15, 2024
91d53ef
Refactor: modify template data type
1041176461 Jun 15, 2024
7be204b
Refactor: add template for cal_Vq_gauss
1041176461 Jun 16, 2024
c020a87
Refactor: add template for cal_Vq_minus_gauss
1041176461 Jun 16, 2024
b8acd18
Refactor: add template for cal_Vq
1041176461 Jun 17, 2024
3c3498b
Refactor: add template for cal_Vs
1041176461 Jun 17, 2024
59ad721
Fix: compile bug in gaussian_abfs
1041176461 Jun 17, 2024
ca67551
Fix: compile bug
1041176461 Jun 18, 2024
d8f0e42
Fix: convert bug
1041176461 Jun 19, 2024
c38660a
Fix: add minus template
1041176461 Jun 19, 2024
a1a4ab4
Refactor: comm_map2_first for array<Tensor, 3>
1041176461 Jun 19, 2024
59911b5
Fix: delete inline of get_Vq for external binding
1041176461 Jun 19, 2024
7fba2e3
Fix: init bug
1041176461 Jun 19, 2024
5c3df85
Fix: skip gamma in lattice_sum
1041176461 Jun 20, 2024
1601d22
Fix: Infinite loop in minus
1041176461 Jun 20, 2024
4c03eee
Fix: singular correction error
1041176461 Jun 21, 2024
ea9d22e
Fix: init 2Lmax*1
1041176461 Jun 21, 2024
ee4fea7
Fix: modify tools template
1041176461 Jun 22, 2024
b960019
Fix: save memory in init
1041176461 Jun 22, 2024
c9c426d
Fix: modify TITLE
1041176461 Jun 22, 2024
de1ac11
Refactor: omp init
1041176461 Jun 24, 2024
869db91
Fix: q to -q
1041176461 Jun 25, 2024
ffbbf76
Fix: modify Rmax to Rmin for k convergency
1041176461 Jun 25, 2024
0a2265c
Fix: error tau index
1041176461 Jun 27, 2024
afb52d6
Fix: symmetry = 0 error
1041176461 Jun 29, 2024
26b76ac
Merge branch 'LC_Exx-new' of https://github.com/1041176461/abacus-dev…
1041176461 Jun 29, 2024
723b207
Fix: dVws flags error
1041176461 Jun 30, 2024
aa7fd5d
Fix: cal_dVs empty bug
1041176461 Jul 1, 2024
eff5529
Fix: add waring
1041176461 Jul 3, 2024
47d5cac
Merge branch 'deepmodeling:develop' into develop
1041176461 Jul 3, 2024
2d53ea5
Merge branch 'develop' into LC_Exx-new
1041176461 Jul 3, 2024
f2fc892
Fix: merge error
1041176461 Jul 3, 2024
7f33202
Fix: compile error
1041176461 Jul 3, 2024
92a7c66
Fix: cmake error
1041176461 Jul 4, 2024
f53a7b0
Fix: cmake order
1041176461 Jul 4, 2024
bf75c64
Fix: ewald mpi error
1041176461 Jul 4, 2024
b0476e7
Fix: hard coded for fq_type 1
1041176461 Jul 9, 2024
ab26835
Fix: add cam kernel for gauss part
1041176461 Jul 12, 2024
56f3add
Refactor: omp for set_Vq_dVq_minus_gauss
1041176461 Jul 15, 2024
b79cb85
Refactor: optimize check_cell
1041176461 Jul 16, 2024
138a901
Refactor: delate move
1041176461 Jul 16, 2024
744519e
Refactor: check_cell
1041176461 Jul 17, 2024
b8f2ac9
Refactor: delete check_empty and add check_and_set_zero
1041176461 Jul 22, 2024
69de648
Fix: check_cell bug and delete set_zero
1041176461 Jul 25, 2024
a3d874c
Refactor: delete check_cell
1041176461 Jul 26, 2024
a7cbea5
Fix: modify cal_latvec_range for other basis
1041176461 Jul 27, 2024
56bc295
Refactor: match NAO and gauss rcut
1041176461 Jul 30, 2024
20c0423
Merge branch 'LC_Exx-new' of https://github.com/1041176461/abacus-dev…
1041176461 Jul 30, 2024
851f541
Refactor: only keep cal_latvec_range fix
1041176461 Jul 30, 2024
9f81209
Refactor: delete min Rcut
1041176461 Aug 1, 2024
8723791
Fix: still use min Rcut for keeping res under different lambda
1041176461 Aug 1, 2024
481b339
Fix: remove extra correction for sr kernel
1041176461 Aug 6, 2024
8e90909
Fix: hf parameter error
1041176461 Aug 7, 2024
efaec13
Refactor: move init_Gaunt out of Matrix_Orbs* init
1041176461 Aug 13, 2024
c5a47c6
Refactor: add init_C judging
1041176461 Aug 13, 2024
cadb651
Refactor: set ewald init MGT
1041176461 Aug 14, 2024
779c21c
Fix: ewald init false
1041176461 Aug 14, 2024
d61e269
Fix: gauss dVq error
1041176461 Sep 2, 2024
46453d0
Merge branch 'LC_Exx-new' of https://github.com/1041176461/abacus-dev…
1041176461 Sep 2, 2024
f52fbbc
Fix: init_elem bug of std::array
1041176461 Sep 9, 2024
505db2a
Refactor: comment dVs calculated by Ewald method
1041176461 Oct 10, 2024
1758cd9
Refactor: singular chi settings
1041176461 Oct 13, 2024
8e0c6d8
Merge branch 'deepmodeling:develop' into develop
1041176461 Oct 13, 2024
3c4608e
Merge branch 'develop' into LC_Exx-new
1041176461 Oct 14, 2024
4619994
Refactor: add exx in tddft
1041176461 Oct 14, 2024
c3224ec
Fix: add exx_use_ewald param
1041176461 Oct 14, 2024
ab6ce32
Fix: input param error
1041176461 Oct 14, 2024
7ac2a9d
Fix: param settings error
1041176461 Oct 15, 2024
223181b
Fix: bug in td-exx
1041176461 Oct 17, 2024
90e4750
Merge branch 'deepmodeling:develop' into develop
1041176461 Oct 19, 2024
2bd4a43
Merge branch 'develop' into LC_Exx-new
1041176461 Oct 19, 2024
d0bedae
Add files via upload
ESROAMER Nov 2, 2024
25a77b3
Update cal_edm_tddft.cpp
ESROAMER Nov 2, 2024
e21da57
Refactor: modify exx loop for relax/md
1041176461 Nov 2, 2024
74651ac
Update result.ref
ESROAMER Nov 2, 2024
b67c43c
Fix wrong parameters in integrate test
ESROAMER Nov 2, 2024
0cb9cbb
Update result.ref
ESROAMER Nov 2, 2024
2ba948c
Update result.ref
ESROAMER Nov 2, 2024
58cc693
Update result.ref
ESROAMER Nov 2, 2024
6513db5
Update result.ref
ESROAMER Nov 2, 2024
0fc246b
Update result.ref
ESROAMER Nov 2, 2024
0721fbb
Update result.ref
ESROAMER Nov 2, 2024
63e59b5
Update result.ref
ESROAMER Nov 2, 2024
22058e3
Update result.ref
ESROAMER Nov 2, 2024
ced029a
add exx when istep>0
maki49 Nov 2, 2024
7740356
Merge pull request #8 from maki49/new_loop
1041176461 Nov 3, 2024
d15217c
Merge pull request #7 from 1041176461/new_loop
1041176461 Nov 3, 2024
8d454ab
Merge branch 'new_loop' into LC_Exx-new
1041176461 Nov 4, 2024
2755221
Merge branch 'develop' into develop
1041176461 Nov 4, 2024
9b7df7d
Update dos.py
1041176461 Nov 4, 2024
a8a9051
Update esolver_sdft_pw.cpp
1041176461 Nov 4, 2024
ba09ba9
Update lcao_before_scf.cpp
1041176461 Nov 4, 2024
f5734d4
Update Exx_LRI_interface.h
1041176461 Nov 4, 2024
cacaf93
Update Exx_LRI_interface.hpp
1041176461 Nov 4, 2024
894cb25
Fix: compile error
1041176461 Nov 4, 2024
7c54ec6
Fix: compile error
1041176461 Nov 4, 2024
8c7c0e6
Fix: change HSE relax/md result.ref for new framework
1041176461 Nov 5, 2024
312761c
Merge branch 'develop' into LC_Exx-new
1041176461 Nov 5, 2024
3df2804
Merge branch 'pr/1041176461/9' into develop
1041176461 Nov 6, 2024
9a820d2
Fix: compile error
1041176461 Nov 6, 2024
ebfdadc
compatible with exx_iter_finish
1041176461 Nov 6, 2024
eca5f43
Merge branch 'deepmodeling:develop' into develop
ESROAMER Nov 7, 2024
bac726b
Add files via upload
ESROAMER Nov 7, 2024
ec4ccb0
Merge branch 'develop' into LC_Exx-new
1041176461 Nov 8, 2024
6965e9e
Update esolver_ks_lcao_tddft.h
ESROAMER Nov 8, 2024
09aa1a1
Update esolver_ks_lcao_tddft.cpp
ESROAMER Nov 8, 2024
2373c13
Merge pull request #10 from ESROAMER/no_force
1041176461 Nov 8, 2024
70092e6
Merge branch 'develop' into LC_Exx-new
1041176461 Nov 8, 2024
df16895
hybrid
ESROAMER Nov 18, 2024
c1b7e0c
Merge branch 'hytd' into LC_Exx-new
ESROAMER Nov 18, 2024
357c785
Refactor: add input check for TD-EXX
1041176461 Nov 18, 2024
ab423c6
Merge branch 'LC_Exx-new' of https://github.com/1041176461/abacus-dev…
1041176461 Nov 18, 2024
2efaeb6
Revert hytd commit
1041176461 Nov 19, 2024
6024469
Fix: input error
1041176461 Nov 19, 2024
b91c51c
Fix: input error
1041176461 Nov 19, 2024
0af0444
Fix: input error
1041176461 Nov 20, 2024
fae7e91
add istep check for cal_exx_ions
1041176461 Nov 22, 2024
b026c9c
delete exx_ewald_qdiv
1041176461 Nov 26, 2024
dbb5944
Fix: pbe0 bug and delete cam_alpha and cam_beta param
1041176461 Nov 26, 2024
0ca4e04
Merge branch 'deepmodeling-develop' into develop
1041176461 Nov 27, 2024
7e3e147
Merge branch 'develop' of https://github.com/1041176461/abacus-develo…
1041176461 Nov 27, 2024
7d57fd5
Feature: add a new Rcut for HF
1041176461 Nov 27, 2024
a59aa54
Fix: add param Rcut_type
1041176461 Nov 29, 2024
289036b
Merge branch 'deepmodeling:develop' into develop
1041176461 Jan 6, 2025
db653b7
Fix: support negative value in parse_expression
1041176461 Jan 6, 2025
4b82a10
[pre-commit.ci lite] apply automatic fixes
pre-commit-ci-lite[bot] Jan 6, 2025
5708805
Fix: param settings error
1041176461 Jan 9, 2025
1532914
Fix: add Rcut for set_Vs_dVs
1041176461 Jan 9, 2025
c6dad8f
Fix: mixing pulay
1041176461 Jan 12, 2025
4875128
Fix: large system rcut error
1041176461 Jan 14, 2025
7e0c98e
Merge branch 'deepmodeling:develop' into develop
1041176461 Jan 30, 2025
eb353a8
Fix: parse_expression for scientific notation
1041176461 Jan 30, 2025
c1235ac
Update input_conv.h
1041176461 Jan 30, 2025
477c87a
Merge branch 'deepmodeling:develop' into develop
1041176461 Feb 22, 2025
753d192
fix kvec_c_full for mpi
1041176461 May 13, 2025
15d4fca
Merge branch 'deepmodeling:develop' into develop
1041176461 May 13, 2025
d2fdd59
merge develop
1041176461 May 14, 2025
0dfe15e
fix compile error
1041176461 May 14, 2025
dd33a22
fix ucell error
1041176461 May 14, 2025
8198706
fix init_ions
1041176461 May 14, 2025
5271293
fix cell
1041176461 May 15, 2025
84a67ce
fix k for symmetry=0
1041176461 May 16, 2025
8e8459a
Merge branch 'develop' into LC_Exx-new
1041176461 May 16, 2025
7b4e28e
namespace Singular_Value
1041176461 May 16, 2025
46c0f27
Merge branch 'LC_Exx-new' of https://github.com/1041176461/abacus-dev…
1041176461 May 16, 2025
398796c
fix text_xc1
1041176461 May 16, 2025
91c47da
add doc
1041176461 May 16, 2025
6ecb484
delete Excited_band_for_ik1.jpeg
1041176461 May 18, 2025
7ef7ac2
Delete out_abs.png
1041176461 May 18, 2025
f1d7369
Delete out_dipole.png
1041176461 May 18, 2025
e45edf4
Delete tools/rt-tddft-tools/examples/Absorpation-N2/out_spectra.dat
1041176461 May 18, 2025
fe7912e
Delete tools/rt-tddft-tools/examples/Absorpation-N2/SPIN1_DIPOLE
1041176461 May 18, 2025
1651603
Delete tools/rt-tddft-tools/examples/Absorpation-N2/efield_0.dat
1041176461 May 18, 2025
7f30a56
Delete tools/rt-tddft-tools/examples/Absorpation-N2/efield_1.dat
1041176461 May 18, 2025
cecf38c
Merge branch 'develop' into LC_Exx-new
1041176461 May 18, 2025
0d45a31
modify ewald_Vq to ewald_vq
1041176461 May 19, 2025
1ee4f03
Merge branch 'develop' into LC_Exx-new
1041176461 May 19, 2025
d381255
delete GlobalC
1041176461 May 19, 2025
8feadab
Merge branch 'LC_Exx-new' of https://github.com/1041176461/abacus-dev…
1041176461 May 19, 2025
f22c932
fix compile
1041176461 May 19, 2025
461456b
fix test
1041176461 May 19, 2025
6e75195
fix test_xc
1041176461 May 19, 2025
aa40c9b
fix test
1041176461 May 19, 2025
e4f5dd3
add complex ErrorFunc
1041176461 May 21, 2025
6310f61
delete Faddeeva
1041176461 May 21, 2025
69196f6
delete
1041176461 May 21, 2025
74b1da9
Merge branch 'develop' into LC_Exx-new
1041176461 May 21, 2025
aed4e54
add tests for two implementations
1041176461 May 21, 2025
835a146
delete unused functions
1041176461 May 21, 2025
d77e405
add tests
1041176461 May 21, 2025
dd2d8c0
fix tests
1041176461 May 21, 2025
90efcb2
set nosym
1041176461 May 21, 2025
fcb9906
fix tests
1041176461 May 21, 2025
d4982f3
fix tests
1041176461 May 21, 2025
121f98a
fix tests
1041176461 May 21, 2025
fa8ca9f
Merge branch 'LC_Exx-new' of https://github.com/1041176461/abacus-dev…
1041176461 May 21, 2025
ad030e6
fix txt
1041176461 May 21, 2025
a80a57f
fix dir name
1041176461 May 21, 2025
7e27f87
fix doc
1041176461 May 21, 2025
f031ee5
fix tests
1041176461 May 21, 2025
b8f0caa
no limits for hse_omega and hybrid_beta
1041176461 May 21, 2025
c7ff2c4
Merge branch 'develop' into LC_Exx-new
1041176461 May 25, 2025
17d45f9
Merge branch 'develop' into LC_Exx-new
1041176461 May 26, 2025
2f9899e
delete GlobalC in libxc
1041176461 May 26, 2025
d3bd96b
Merge branch 'LC_Exx-new' of https://github.com/1041176461/abacus-dev…
1041176461 May 26, 2025
45ae66d
add notes for Ewald_Vq
1041176461 May 26, 2025
cd5ed75
format
1041176461 May 26, 2025
63d2694
add notes for Ccp_Type
1041176461 May 26, 2025
373fb76
add notes
1041176461 May 26, 2025
fec86e7
Merge branch 'develop' into LC_Exx-new
1041176461 May 26, 2025
d7771a8
Merge branch 'deepmodeling:develop' into develop
1041176461 Jun 5, 2025
0496d42
Merge branch 'develop' into LC_Exx-new
1041176461 Jun 5, 2025
29c639e
delete info_ewald
1041176461 Jun 5, 2025
3494a3a
fix merge error
1041176461 Jun 6, 2025
9e9c5e8
move hybrid_alpha into ccp settings
1041176461 Jun 6, 2025
e18e69a
fix compile error
1041176461 Jun 6, 2025
f41f6b2
fix compile error
1041176461 Jun 6, 2025
ff96720
Merge branch 'develop' into LC_Exx-new
1041176461 Jun 6, 2025
92c12b4
fix tests
1041176461 Jun 6, 2025
ca4d8b4
Merge branch 'LC_Exx-new' of https://github.com/1041176461/abacus-dev…
1041176461 Jun 6, 2025
8b6b998
fix ewald param
1041176461 Jun 6, 2025
4b33606
delete exx_hybrid_beta in read_input
1041176461 Jun 8, 2025
39308e1
Merge branch 'LC_Exx-new' of https://github.com/1041176461/abacus-dev…
1041176461 Jun 8, 2025
3bba7de
modify exx_v_threshold in tests for new settings
1041176461 Jun 8, 2025
14ccf6d
Merge branch 'develop' into LC_Exx-new
1041176461 Jun 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 53 additions & 13 deletions docs/advanced/input_files/input-main.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,11 @@
- [out\_interval](#out_interval)
- [out\_element\_info](#out_element_info)
- [restart\_save](#restart_save)
- [rpa](#rpa)
- [rpa (Under Development Feature)](#rpa-under-development-feature)
- [nbands\_istate](#nbands_istate)
- [out\_pchg](#out_pchg)
- [out\_wfc\_norm](#out_wfc_norm)
- [out\_wfc\_re\_im](#out_wfc_re_im)
- [if\_separate\_k](#if_separate_k)
- [out\_elf](#out_elf)
- [Density of States](#density-of-states)
Expand Down Expand Up @@ -261,7 +263,9 @@
- [block\_height](#block_height)
- [Exact Exchange (Common)](#exact-exchange-common)
- [exx\_hybrid\_alpha](#exx_hybrid_alpha)
- [exx\_hybrid\_beta](#exx_hybrid_beta)
- [exx\_hse\_omega](#exx_hse_omega)
- [exx\_use\_ewald](#exx_use_ewald)
- [exx\_separate\_loop](#exx_separate_loop)
- [Exact Exchange (LCAO/LCAO in PW)](#exact-exchange-lcaolcao-in-pw)
- [exx\_hybrid\_step](#exx_hybrid_step)
Expand All @@ -284,6 +288,8 @@
- [exx\_opt\_orb\_ecut](#exx_opt_orb_ecut)
- [exx\_opt\_orb\_tolerence](#exx_opt_orb_tolerence)
- [exx\_real\_number](#exx_real_number)
- [exx\_spencer\_type](#exx_spencer_type)
- [exx\_fq\_type](#exx_fq_type)
- [rpa\_ccp\_rmesh\_times](#rpa_ccp_rmesh_times)
- [exx\_symmetry\_realspace](#exx_symmetry_realspace)
- [out\_ri\_cv](#out_ri_cv)
Expand All @@ -309,7 +315,6 @@
- [ref\_cell\_factor](#ref_cell_factor)
- [md\_pcouple](#md_pcouple)
- [md\_pfirst, md\_plast](#md_pfirst-md_plast)
- [md\_pfreq](#md_pfreq)
- [md\_pchain](#md_pchain)
- [lj\_rule](#lj_rule)
- [lj\_eshift](#lj_eshift)
Expand Down Expand Up @@ -476,7 +481,7 @@
- [abs\_broadening](#abs_broadening)
- [ri\_hartree\_benchmark](#ri_hartree_benchmark)
- [aims\_nbasis](#aims_nbasis)
- [Reduced Density Matrix Functional Theory](#reduced-density-matrix-functional-theory)
- [Reduced Density Matrix Functional Theory (Under Development Feature)](#reduced-density-matrix-functional-theory-under-development-feature)
- [rdmft](#rdmft)
- [rdmft\_power\_alpha](#rdmft_power_alpha)

Expand Down Expand Up @@ -2705,23 +2710,38 @@ These variables are relevant to gate field (compensating charge) [Detailed intro
These variables are relevant when using hybrid functionals. Currently ABACUS supports hybrid functionals when *[basis_type](#basis_type)==lcao/lcao_in_pw*.
Support for hybrid functionals in the *pw [basis_type](#basis_type)* is under active development.

The following parameters apply to *[basis_type](#basis_type)==lcao/lcao_in_pw/pw*. For basis specific parameters, see the sections *[Exact Exchange (LCAO/LCAO in PW)](#exact-exchange-lcaolcao-in-pw)* and *[Exact Exchange (PW)](#exact-exchange-pw)*.

**Availablity**: *[dft_functional](#dft_functional)==hse/hf/pbe0/scan0/opt_orb* or *[rpa](#rpa)==True*.
**Availablity**: *[dft_functional](#dft_functional)==hse/hf/pbe0/scan0/opt_orb/...* or *[rpa](#rpa)==True*, and *[basis_type](#basis_type)==lcao/lcao_in_pw*

#### Hybrid Functional Parameters {#hybrid_func_params}
|[dft_functional](#dft_functional)|[exx_hybrid_alpha](#exx_hybrid_alpha)|[exx_hybrid_beta](#exx_hybrid_beta)|[exx_hse_omega](#exx_hse_omega)|
|:-:|:-:|:-:|:-:|
|hf|1|0|0|
|lc_pbe|1|-1|0.33|
|lc_wpbe|1|-1|0.4|
|lrc_wpbe|1|-1|0.3|
|lrc_wpbeh|1|-0.8|0.2|
|pbe0|0.25|0|0|
|hse|0.0|0.25|0.11|
|scan0|0.25|0|0|
|cam_pbeh|0.2|0.8|0.7|

### exx_hybrid_alpha

- **Type**: Real
- **Description**: fraction of Fock exchange in hybrid functionals, so that $E_{X}=\alpha E_{X}+(1-\alpha)E_{X,\text{LDA/GGA}}$
- **Default**:
- 1: if *[dft_functional](#dft_functional)==hf*
- 0.25: else
- **Description**: fraction of Fock exchange in range-separated hybrid funtionals, so that $E_{X} = \alpha E_{X}^\text{HF-LR}+(\alpha+\beta) E_{X}^\text{HF-SR}+(1-\alpha)E_{X}^\text{KS-LR}+[1-(\alpha+\beta)]E_{X}^\text{KS-SR}$.
- **Default**: see [hybrid_func_params](#hybrid_func_params)

### exx_hybrid_beta

- **Type**: Real
- **Description**: fraction of Fock exchange in range-separated hybrid funtionals, so that $E_{X} = \alpha E_{X}^\text{HF-LR}+(\alpha+\beta) E_{X}^\text{HF-SR}+(1-\alpha)E_{X}^\text{KS-LR}+[1-(\alpha+\beta)]E_{X}^\text{KS-SR}$.
- **Default**: see [hybrid_func_params](#hybrid_func_params)

### exx_hse_omega

- **Type**: Real
- **Description**: range-separation parameter in HSE functional, such that $1/r=\text{erfc}(\omega r)/r+\text{erf}(\omega r)/r$
- **Default**: 0.11
- **Default**: see [hybrid_func_params](#hybrid_func_params)

### exx_separate_loop

Expand All @@ -2731,9 +2751,11 @@ The following parameters apply to *[basis_type](#basis_type)==lcao/lcao_in_pw/pw
- True: A two-step method is employed, i.e. in the inner iterations, density matrix is updated, while in the outer iterations, $H_{exx}$ is calculated based on density matrix that converges in the inner iteration.
- **Default**: True

## Exact Exchange (LCAO/LCAO in PW)
### exx_use_ewald

These variables are relevant when using hybrid functionals with *[basis_type](#basis_type)==lcao/lcao_in_pw*.
- **Type**: Boolean
- **Description**: if True, use Ewald method to construct V matrix
- **Default**: False

### exx_hybrid_step

Expand Down Expand Up @@ -2873,6 +2895,24 @@ These variables are relevant when using hybrid functionals with *[basis_type](#b
- True: if gamma_only
- False: else

### exx_spencer_type

- **Type**: Integer
- **Description**:
- 0: see Phys. Rev. B 77, 193110 (2008).
- 1: see Phys. Rev. Mater. 5, 013807 (2021).
Set Spencer-Alavi scheme type.
- **Default**: 0

### exx_fq_type

- **Type**: Integer
- **Description**:
- 0: see Phys. Rev. B, 75:205126, May 2007. (In test)
- 1: see Phys. Rev. B 48, 5058. August 1993.
Auxiliary-function fq used in correction to V(q) at q->0.
- **Default**: 1

### rpa_ccp_rmesh_times

- **Type**: Real
Expand Down
2 changes: 1 addition & 1 deletion examples/hse/pw_Si2/INPUT
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pseudo_rcut 10
# out_wfc_pw 1
# out_chg 1

exx_hybrid_alpha 0.25
exx_hybrid_beta 0.25

cal_stress 1
# cal_force 1
2 changes: 2 additions & 0 deletions source/Makefile.Objects
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ OBJS_BASE=abfs-vector3_order.o\
math_ylmreal.o\
math_bspline.o\
math_chebyshev.o\
math_erf_complex.o\
math_ylm_op.o\
math_kernel_op.o\
math_kernel_op_vec.o\
Expand Down Expand Up @@ -642,6 +643,7 @@ OBJS_MODULE_RI=conv_coulomb_pot_k.o\
Mix_Matrix.o\
symmetry_rotation.o\
symmetry_irreducible_sector.o\
auxiliary_func.o\

OBJS_PARALLEL=parallel_common.o\
parallel_global.o\
Expand Down
1 change: 1 addition & 0 deletions source/module_base/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ add_library(
math_ylmreal.cpp
math_bspline.cpp
math_chebyshev.cpp
math_erf_complex.cpp
mathzone_add1.cpp
matrix.cpp
matrix3.cpp
Expand Down
Loading
Loading