Skip to content

Commit d5458b8

Browse files
committed
Test: Add USPP BPCG regression coverage with BNDPAR
1 parent 6c54a8b commit d5458b8

6 files changed

Lines changed: 64 additions & 0 deletions

File tree

tests/01_PW/212_PW_USPP_BPCG/INPUT

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
INPUT_PARAMETERS
2+
# Parameters (1.General)
3+
suffix autotest
4+
calculation scf
5+
nbands 10
6+
symmetry 0
7+
latname bcc
8+
nspin 2
9+
pseudo_dir ../../PP_ORB
10+
11+
# Parameters (2.Iteration)
12+
ecutwfc 8
13+
ecutrho 60
14+
scf_thr 1e-9
15+
scf_nmax 100
16+
17+
# Parameters (3.Basis)
18+
basis_type pw
19+
ks_solver bpcg
20+
kpar 1
21+
bndpar 2
22+
23+
# Parameters (4.Smearing)
24+
smearing_method gaussian
25+
smearing_sigma 0.02
26+
27+
# Parameters (5.Mixing)
28+
mixing_type pulay
29+
mixing_beta 0.4
30+
mixing_beta_mag 0.4
31+
mixing_gg0 1.0
32+
mixing_gg0_mag 1.0
33+
34+
pseudo_mesh 1
35+
pseudo_rcut 10
36+
37+
cal_force 1
38+
cal_stress 1
39+
40+
pw_seed 1

tests/01_PW/212_PW_USPP_BPCG/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 UPF201 USPP with PW BPCG and BNDPAR=2.

tests/01_PW/212_PW_USPP_BPCG/STRU

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
ATOMIC_SPECIES
2+
Fe 55.845 Fe.pbe-nd-rrkjus.UPF
3+
4+
LATTICE_CONSTANT
5+
5.4
6+
7+
ATOMIC_POSITIONS
8+
Direct
9+
10+
Fe
11+
8
12+
1
13+
0 0 0
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
etotref -673.8349347374721674
2+
etotperatomref -673.8349347375
3+
totalforceref 0.000000
4+
totalstressref 66620.137229
5+
totaltimeref 0.97

tests/01_PW/CASES_CPU.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ scf_out_chg_tau
116116
209_PW_DFTHALF
117117
210_PW_kspace_shift
118118
211_PW_BPCG_KB_OCP_CHG
119+
212_PW_USPP_BPCG
119120
801_PW_LT_sc
120121
802_PW_LT_fcc
121122
803_PW_LT_bcc

0 commit comments

Comments
 (0)