Skip to content

Commit 82bb115

Browse files
committed
Add integrate test 113_PW_get_pchg_kpar
1 parent 3931789 commit 82bb115

File tree

6 files changed

+57
-0
lines changed

6 files changed

+57
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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+
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 kpar > 1
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: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
etotref -211.8032873347874
2+
etotperatomref -105.9016436674
3+
BAND1_SPIN1_CHG.cube 2
4+
BAND2_SPIN1_CHG.cube 2
5+
BAND3_SPIN1_CHG.cube 2
6+
BAND4_SPIN1_CHG.cube 2
7+
pointgroupref T_d
8+
spacegroupref O_h
9+
nksibzref 3
10+
totaltimeref 1.35

tests/01_PW/CASES_CPU.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@
9999
109_PW_PBE0
100100
111_PW_get_pchg
101101
112_PW_get_wf
102+
113_PW_get_pchg_kpar
102103
201_PW_UPF201_Ce_f
103104
202_PW_ONCV_Libxc
104105
203_PW_OK

0 commit comments

Comments
 (0)