Skip to content

Commit 0affe0e

Browse files
committed
add intergrate test
1 parent fd64f0d commit 0affe0e

File tree

20 files changed

+218
-3
lines changed

20 files changed

+218
-3
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Pseudopotential format is: paw10
2+
basis_size (lnmax)= 4 (lmn_size= 8), orbitals= 0 0 1 1
3+
Spheres core radius: rc_sph= 1.90944987
4+
1 radial meshes are used:
5+
- mesh 1: r(i)=AA*[exp(BB*(i-1))-1], size=2001 , AA= 0.43309E-03 BB= 0.60633E-02
6+
Shapefunction is BESSEL type: shapef(r,l)=aa(1,l)*jl(q(1,l)*r)+aa(2,l)*jl(q(2,l)*r)
7+
Radius for shape functions = 1.60149249
8+
mmax= 2001
9+
Radial grid used for partial waves is grid 1
10+
Radial grid used for projectors is grid 1
11+
Radial grid used for (t)core density is grid 1
12+
Radial grid used for Vloc is grid 1
13+
Radial grid used for pseudo valence density is grid 1
14+
Mesh size for Vloc has been set to 1772 to avoid numerical noise.
15+
Compensation charge density is not taken into account in XC energy/potential
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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-8
13+
scf_nmax 100
14+
15+
16+
#Parameters (3.Basis)
17+
basis_type pw
18+
19+
#Parameters (4.Smearing)
20+
smearing_method gauss
21+
smearing_sigma 0.002
22+
23+
#Parameters (5.Mixing)
24+
mixing_type plain
25+
mixing_beta 0.5
26+
27+
ks_solver cg
28+
device cpu
29+
precision single
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+
1 1 1 0 0 0
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
This test for:
2+
*Si-diamond
3+
*just gamma point
4+
*old upf pseudopotential
5+
*smearing_method default
6+
*ks_solver dav
7+
8+
!!!!!!!WRONG!!!!!!!
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.pz-vbc.UPF
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

tests/integrate/102_PW_CG_float/jd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test davidson method for diagonalization of H with pw basis
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
etotref -198.2238296207179
2+
etotperatomref -99.1119148104
3+
pointgroupref T_d
4+
spacegroupref O_h
5+
nksibzref 1
6+
totaltimeref
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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-8
13+
scf_nmax 100
14+
15+
16+
#Parameters (3.Basis)
17+
basis_type pw
18+
19+
#Parameters (4.Smearing)
20+
smearing_method gauss
21+
smearing_sigma 0.002
22+
23+
#Parameters (5.Mixing)
24+
mixing_type plain
25+
mixing_beta 0.5
26+
27+
ks_solver dav
28+
precision single
29+
device cpu
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+
1 1 1 0 0 0
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
This test for:
2+
*Si-diamond
3+
*just gamma point
4+
*old upf pseudopotential
5+
*smearing_method default
6+
*ks_solver dav
7+
8+
!!!!!!!WRONG!!!!!!!

0 commit comments

Comments
 (0)