Skip to content

Commit 9f336a5

Browse files
committed
Add integrate test 114_PW_get_pchg_sepk
1 parent 82bb115 commit 9f336a5

File tree

6 files changed

+67
-0
lines changed

6 files changed

+67
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
INPUT_PARAMETERS
2+
#Parameters (1.General)
3+
suffix autotest
4+
calculation scf
5+
6+
nbands 6
7+
symmetry 1
8+
pseudo_dir ../../PP_ORB
9+
10+
#Parameters (2.Iteration)
11+
ecutwfc 20
12+
scf_thr 1e-9
13+
scf_nmax 100
14+
15+
#Parameters (3.Basis)
16+
basis_type pw
17+
18+
out_pchg 4*1
19+
20+
kpar 2
21+
22+
if_separate_k 1
23+
24+
pw_seed 1
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
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test the output of out_pchg when if_separate_k is true
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
ATOMIC_SPECIES
2+
Si 14 Si_ONCV_PBE-1.0.upf upf201
3+
4+
LATTICE_CONSTANT
5+
10.2 // add lattice constant
6+
7+
LATTICE_VECTORS
8+
0.0 0.5 0.5
9+
0.5 0.0 0.5
10+
0.5 0.5 0.0
11+
12+
ATOMIC_POSITIONS
13+
Direct
14+
15+
Si // Element type
16+
0.0 // magnetism
17+
2
18+
0.00 0.00 0.00 1 1 1
19+
0.25 0.25 0.25 1 1 1
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
etotref -211.8032873348292
2+
etotperatomref -105.9016436674
3+
BAND1_K1_SPIN1_CHG.cube 2
4+
BAND1_K2_SPIN1_CHG.cube 2
5+
BAND1_K3_SPIN1_CHG.cube 2
6+
BAND2_K1_SPIN1_CHG.cube 2
7+
BAND2_K2_SPIN1_CHG.cube 2
8+
BAND2_K3_SPIN1_CHG.cube 2
9+
BAND3_K1_SPIN1_CHG.cube 2
10+
BAND3_K2_SPIN1_CHG.cube 2
11+
BAND3_K3_SPIN1_CHG.cube 2
12+
BAND4_K1_SPIN1_CHG.cube 2
13+
BAND4_K2_SPIN1_CHG.cube 2
14+
BAND4_K3_SPIN1_CHG.cube 2
15+
pointgroupref T_d
16+
spacegroupref O_h
17+
nksibzref 3
18+
totaltimeref 1.23

tests/01_PW/CASES_CPU.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
111_PW_get_pchg
101101
112_PW_get_wf
102102
113_PW_get_pchg_kpar
103+
114_PW_get_pchg_sepk
103104
201_PW_UPF201_Ce_f
104105
202_PW_ONCV_Libxc
105106
203_PW_OK

0 commit comments

Comments
 (0)