Skip to content

Commit 3ce8d16

Browse files
committed
Add integrate test 115_PW_get_wf_kpar
1 parent 9f336a5 commit 3ce8d16

File tree

6 files changed

+63
-0
lines changed

6 files changed

+63
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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_wfc_norm 1 3*0
19+
out_wfc_re_im 0 1 2*0
20+
21+
kpar 2
22+
23+
pw_seed 1

tests/01_PW/115_PW_get_wf_kpar/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
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test the output of out_wfc_norm and out_wfc_re_im 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: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
etotref -211.8032873348058
2+
etotperatomref -105.9016436674
3+
wf1s1k1.cube 21.94713327
4+
wf1s1k2.cube 19.65692737
5+
wf1s1k3.cube 20.52420057
6+
wf2s1k1imag.cube -1.245726606e-07
7+
wf2s1k1real.cube -1.248871899e-06
8+
wf2s1k2imag.cube -10.91610253
9+
wf2s1k2real.cube -9.92453528
10+
wf2s1k3imag.cube 0.1940087782
11+
wf2s1k3real.cube -19.11015812
12+
pointgroupref T_d
13+
spacegroupref O_h
14+
nksibzref 3
15+
totaltimeref 1.00

tests/01_PW/CASES_CPU.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
112_PW_get_wf
102102
113_PW_get_pchg_kpar
103103
114_PW_get_pchg_sepk
104+
115_PW_get_wf_kpar
104105
201_PW_UPF201_Ce_f
105106
202_PW_ONCV_Libxc
106107
203_PW_OK

0 commit comments

Comments
 (0)