Skip to content

Commit 51200fe

Browse files
authored
Merge pull request #907 from ouqi0711/develop
added test case for DeePKS multi-k band gap label
2 parents e34725f + baab06e commit 51200fe

File tree

14 files changed

+8293
-0
lines changed

14 files changed

+8293
-0
lines changed

tests/deepks/603_NO_deepks_SiO2_bandgap_multik/H_ONCV_PBE-1.2.upf

Lines changed: 902 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
INPUT_PARAMETERS
2+
calculation scf
3+
suffix autotest
4+
ntype 2
5+
ecutwfc 60.000000
6+
scf_thr 5.000000e-07
7+
scf_nmax 35
8+
basis_type lcao
9+
dft_functional lda
10+
gamma_only 0
11+
mixing_type pulay
12+
mixing_beta 0.400000
13+
smearing_method gaussian
14+
smearing_sigma 0.020000
15+
cal_force 0
16+
cal_stress 0
17+
deepks_scf 1
18+
deepks_out_labels 1
19+
deepks_bandgap 1
20+
deepks_model ./model.ptg
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+
4 4 4 0 0 0

tests/deepks/603_NO_deepks_SiO2_bandgap_multik/O_ONCV_PBE-1.2.upf

Lines changed: 1229 additions & 0 deletions
Large diffs are not rendered by default.

tests/deepks/603_NO_deepks_SiO2_bandgap_multik/O_gga_7au_60Ry_2s2p1d.orb

Lines changed: 903 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
ATOMIC_SPECIES
2+
Si 1.00 ./Si_ONCV_PBE-1.2.upf
3+
O 1.00 ./O_ONCV_PBE-1.2.upf
4+
5+
6+
LATTICE_CONSTANT
7+
1.88972613
8+
9+
LATTICE_VECTORS
10+
5.1358423233 0.0 0.0
11+
0.1578526541 5.1334159104 0.0
12+
-2.646847675 -2.5667081359 3.5753437737
13+
14+
ATOMIC_POSITIONS
15+
Cartesian # Cartesian(Unit is LATTICE_CONSTANT)
16+
17+
Si
18+
0.0
19+
2
20+
2.534160450000 0.030408299300 1.663558130000 0 0 0
21+
-0.077926340400 0.025648099500 0.078156331300 0 0 0
22+
O
23+
0.0
24+
4
25+
2.335552900000 1.443439680000 2.385575340000 0 0 0
26+
2.235499200000 -1.041672760000 3.050688970000 0 0 0
27+
4.032950660000 -0.087022289300 1.230442140000 0 0 0
28+
1.505294970000 -0.122077649000 0.517874107000 0 0 0
29+
30+
NUMERICAL_ORBITAL
31+
./Si_gga_8au_60Ry_2s2p1d.orb
32+
./O_gga_7au_60Ry_2s2p1d.orb
33+
34+
NUMERICAL_DESCRIPTOR
35+
./jle.orb

tests/deepks/603_NO_deepks_SiO2_bandgap_multik/Si_ONCV_PBE-1.2.upf

Lines changed: 1231 additions & 0 deletions
Large diffs are not rendered by default.

tests/deepks/603_NO_deepks_SiO2_bandgap_multik/Si_gga_8au_60Ry_2s2p1d.orb

Lines changed: 1028 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import numpy
2+
a=numpy.load('o_tot.npy')
3+
b=numpy.load('o_base.npy')
4+
print((a-b)[0])
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import numpy
2+
a=numpy.load('orbital_precalc.npy')
3+
print(numpy.sum(a))

0 commit comments

Comments
 (0)