Skip to content

Commit 703ad5a

Browse files
author
wenfei-li
committed
deepks : add test case for band gap;
and update result.ref
1 parent ab95243 commit 703ad5a

File tree

18 files changed

+9473
-9
lines changed

18 files changed

+9473
-9
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
etotref -218.7167041558043
1+
etotref -218.7167041558041
22
etotperatomref -43.7433408312
33
totalforceref 32.038809
4-
totaltimeref 45.019
4+
totaltimeref 31.926
5+
totaldes 5.958921

tests/deepks/603_NO_deepks_H2O_bandgap/1_H_gga_100Ry_7au_2s1p.orb

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

tests/deepks/603_NO_deepks_H2O_bandgap/8_O_gga_100Ry_7au_2s2p1d.orb

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

tests/deepks/603_NO_deepks_H2O_bandgap/H_ONCV_PBE-1.0.upf

Lines changed: 897 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+
suffix autotest
3+
calculation scf
4+
ntype 2
5+
ecutwfc 100.000000
6+
dr2 5.000000e-07
7+
niter 35
8+
basis_type lcao
9+
dft_functional pbe
10+
gamma_only 1
11+
mixing_type pulay
12+
mixing_beta 0.400000
13+
smearing gaussian
14+
sigma 0.020000
15+
force 0
16+
stress 0
17+
deepks_scf 1
18+
deepks_model model.ptg
19+
deepks_out_labels 1
20+
deepks_bandgap 1
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

tests/deepks/603_NO_deepks_H2O_bandgap/O_ONCV_PBE-1.0.upf

Lines changed: 1224 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
ATOMIC_SPECIES
2+
H 1.00 ./H_ONCV_PBE-1.0.upf
3+
O 1.00 ./O_ONCV_PBE-1.0.upf
4+
5+
6+
LATTICE_CONSTANT
7+
1
8+
9+
LATTICE_VECTORS
10+
28 0 0
11+
0 28 0
12+
0 0 28
13+
14+
ATOMIC_POSITIONS
15+
Cartesian # Cartesian(Unit is LATTICE_CONSTANT)
16+
17+
H
18+
0.0
19+
2
20+
2.451268787740 18.304568063522 29.094778093001 0 0 0
21+
0.634768813069 17.692018052980 31.090158495369 0 0 0
22+
O
23+
0.0
24+
1
25+
0.953925982272 17.270156608314 29.386199785767 0 0 0
26+
27+
NUMERICAL_ORBITAL
28+
./1_H_gga_100Ry_7au_2s1p.orb
29+
./8_O_gga_100Ry_7au_2s2p1d.orb
30+
31+
NUMERICAL_DESCRIPTOR
32+
./jle.orb
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])

tests/deepks/603_NO_deepks_H2O_bandgap/jle.orb

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

0 commit comments

Comments
 (0)