Skip to content

Commit ce43880

Browse files
Flying-dragon-boxingFisherd99
authored andcommitted
Fix: disable the XC in LibXC in which nonlocal dispersion correction is required (deepmodeling#5391)
* fix * special programming for wb97 famiy
1 parent 9c245e6 commit ce43880

File tree

6 files changed

+56
-0
lines changed

6 files changed

+56
-0
lines changed

tests/integrate/190_PW_PBE0/INPUT

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
INPUT_PARAMETERS
2+
#Parameters (System)
3+
suffix autotest
4+
5+
nbands 2
6+
stru_file STRU
7+
kpoint_file KPT
8+
pseudo_dir ../../PP_ORB
9+
pw_seed 1
10+
calculation scf
11+
#Parameters (PW)
12+
ecutwfc 10.0 # Rydberg
13+
#Parameters (electronic)
14+
basis_type pw
15+
scf_thr 1e-3
16+
smearing_method fixed
17+
18+
cal_force 0
19+
cal_stress 1
20+
21+
dft_functional pbe0
22+
symmetry -1

tests/integrate/190_PW_PBE0/KPT

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
K_POINTS
2+
0
3+
Gamma
4+
1 1 1 0 0 0

tests/integrate/190_PW_PBE0/STRU

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
ATOMIC_SPECIES
2+
H 1 H_ONCV_PBE-1.0.upf #Pseudopotentials are downloaded from http://www.quantum-simulation.org/potentials/sg15_oncv/upf/
3+
4+
NUMERICAL_ORBITAL
5+
orb_Si.dat
6+
7+
LATTICE_CONSTANT
8+
1.889766
9+
10+
LATTICE_VECTORS
11+
0.0 2.708337 2.708337
12+
2.708337 0.0 2.708337
13+
2.708337 2.708337 0.0
14+
15+
16+
17+
ATOMIC_POSITIONS
18+
Direct
19+
20+
H
21+
0
22+
2
23+
0.125 0.125 0.125 0 0 0
24+
0.875 0.875 0.875 0 0 0

tests/integrate/190_PW_PBE0/jd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
hybrid functionals for pw basis. note that this calculation is not physically correct, only for testing purpose.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
etotref -30.5936375896797834
2+
etotperatomref -15.2968187948
3+
totalstressref 935.890087
4+
totaltimeref 12.91

tests/integrate/CASES_CPU.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@
136136
186_PW_SKG_10D10S
137137
186_PW_SKG_ALL
138138
186_PW_SNLKG_10D10S
139+
190_PW_PBE0
139140
201_NO_15_f_pseudopots
140141
201_NO_15_pseudopots
141142
201_NO_15_pseudopots_kpar

0 commit comments

Comments
 (0)