Skip to content

Commit e5325bf

Browse files
Tests: one integrate test for exx pw, only for verifying whether exx pw works
1 parent 62eb21f commit e5325bf

File tree

4 files changed

+30
-25
lines changed

4 files changed

+30
-25
lines changed

tests/integrate/190_PW_PBE0/INPUT

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,21 @@ INPUT_PARAMETERS
22
#Parameters (System)
33
suffix autotest
44

5-
nbands 4
5+
nbands 2
66
stru_file STRU
77
kpoint_file KPT
88
pseudo_dir ../../PP_ORB
99
pw_seed 1
10-
calculation scf
11-
latname st
10+
calculation scf
1211
#Parameters (PW)
13-
ecutwfc 25.0 # Rydberg
12+
ecutwfc 10.0 # Rydberg
1413
#Parameters (electronic)
1514
basis_type pw
16-
scf_thr 1e-10
15+
scf_thr 1e-3
16+
smearing_method fixed
1717

18-
cal_force 1
18+
cal_force 0
1919
cal_stress 1
2020

2121
dft_functional pbe0
22+
symmetry -1

tests/integrate/190_PW_PBE0/STRU

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
1-
#This is the atom file containing all the information
2-
#about the lattice structure.
3-
41
ATOMIC_SPECIES
5-
H 1.0008 H.pz-vbc.UPF
2+
H 1 H_ONCV_PBE-1.0.upf #Pseudopotentials are downloaded from http://www.quantum-simulation.org/potentials/sg15_oncv/upf/
3+
4+
NUMERICAL_ORBITAL
5+
orb_Si.dat
66

77
LATTICE_CONSTANT
8-
10.0 #Lattice constant
8+
1.889766
9+
10+
LATTICE_VECTORS
11+
0.0 2.708337 2.708337
12+
2.708337 0.0 2.708337
13+
2.708337 2.708337 0.0
14+
915

10-
LATTICE_PARAMETERS
11-
2.0
1216

1317
ATOMIC_POSITIONS
14-
Cartesian #Cartesian(Unit is LATTICE_CONSTANT)
15-
H #Name of element
16-
0.0 #Magnetic for this element.
17-
2 #Number of atoms
18-
0.00 0.00 -0.0661400 0 0 0 #x,y,z, move_x, move_y, move_z
19-
0.00 0.00 0.0661400 0 0 0 #x,y,z, move_x, move_y, move_z
18+
Direct
19+
20+
H
21+
0
22+
2
23+
0.125 0.125 0.125 0 0 0
24+
0.875 0.875 0.875 0 0 0

tests/integrate/190_PW_PBE0/jd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
hybrid functionals for pw basis
1+
hybrid functionals for pw basis. note that this calculation is not physically correct, only for testing purpose.
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
etotref -31.2844791029497920
2-
etotperatomref -15.6422395515
3-
totalforceref 5.095860
4-
totalstressref 19.658626
5-
totaltimeref 210.44
1+
etotref -30.5936375896797834
2+
etotperatomref -15.2968187948
3+
totalstressref 935.890087
4+
totaltimeref 12.91

0 commit comments

Comments
 (0)