Skip to content

Commit af693da

Browse files
committed
(Test) Add integration testing for DFT-1/2
* Add integration testing 01_PW/209_PW_DFTHALF for DFT-1/2
1 parent 8f7097d commit af693da

File tree

9 files changed

+3576
-0
lines changed

9 files changed

+3576
-0
lines changed

tests/01_PW/209_PW_DFTHALF/INPUT

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
INPUT_PARAMETERS
2+
#Parameters (1.General)
3+
suffix autotest
4+
calculation scf
5+
ks_solver dav
6+
dfthalf_type 1
7+
8+
symmetry 1
9+
pseudo_dir ../../PP_ORB
10+
11+
#Parameters (2.Iteration)
12+
ecutwfc 50
13+
scf_thr 1e-9
14+
scf_nmax 100
15+
16+
17+
#Parameters (3.Basis)
18+
basis_type pw
19+
20+
#Parameters (4.Smearing)
21+
smearing_method gauss
22+
smearing_sigma 0.002
23+
24+
#Parameters (5.Mixing)
25+
mixing_type broyden
26+
mixing_beta 0.7
27+
28+
dft_functional PBE
29+
30+
#OUT
31+
out_bandgap true
32+
33+
pw_seed 1

tests/01_PW/209_PW_DFTHALF/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+
2 2 2 0 0 0

tests/01_PW/209_PW_DFTHALF/README

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DFT-1/2 method in PW basis, soc off

tests/01_PW/209_PW_DFTHALF/STRU

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
ATOMIC_SPECIES
2+
Li 0.0 Li_ONCV_PBE-1.2.upf upf201
3+
F 0.0 F_ONCV_PBE-1.2.upf upf201
4+
5+
LATTICE_CONSTANT
6+
1.0000000000
7+
8+
LATTICE_VECTORS
9+
0.0000000000 3.8379626543 3.8379626543
10+
3.8379626543 0.0000000000 3.8379626543
11+
3.8379626543 3.8379626543 0.0000000000
12+
13+
SEP_FILES
14+
Li 0
15+
F 1 F_pbe_50.sep 0.0 2.2 20.0 1.0
16+
17+
ATOMIC_POSITIONS
18+
Direct
19+
20+
Li #label
21+
0.0000 #magnetism
22+
1 #number of atoms
23+
0.0000000000 0.0000000000 0.0000000000 m 1 1 1
24+
25+
F #label
26+
0.0000 #magnetism
27+
1 #number of atoms
28+
0.5000000000 0.5000000000 0.5000000000 m 1 1 1
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
etotref -906.0447337890729
2+
etotperatomref -453.0223668945
3+
pointgroupref O_h
4+
spacegroupref O_h
5+
nksibzref 3
6+
totaltimeref 0.39

tests/01_PW/CASES_CPU.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108
206_PW_SCAN_S2
109109
207_PW_skip
110110
208_PW_CG_float
111+
209_PW_DFTHALF
111112
801_PW_LT_sc
112113
802_PW_LT_fcc
113114
803_PW_LT_bcc

tests/PP_ORB/F_ONCV_PBE-1.2.upf

Lines changed: 1229 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)