Skip to content

Commit 3cb7c45

Browse files
authored
Merge branch 'deepmodeling:develop' into develop
2 parents b3f37e8 + fdd0709 commit 3cb7c45

File tree

14 files changed

+136
-2
lines changed

14 files changed

+136
-2
lines changed

source/module_base/global_file.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ void ModuleBase::Global_File::make_dir_out(
8484
MPI_Barrier(MPI_COMM_WORLD);
8585
#endif
8686

87-
if(calculation == "md")
87+
if(calculation == "md" || calculation == "sto-md")
8888
{
8989
int make_dir_stru = 0;
9090
std::string command1 = "test -d " + GlobalV::global_stru_dir + " || mkdir " + GlobalV::global_stru_dir;
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
INPUT_PARAMETERS
2+
#Parameters (System)
3+
suffix autotest
4+
ntype 1
5+
nbands 4
6+
stru_file STRU
7+
kpoint_file KPT
8+
pseudo_dir ../tools/PP_ORB/
9+
orbital_dir ../tools/PP_ORB/
10+
latname sc
11+
#Parameters (PW)
12+
ecutwfc 25.0 # Rydberg
13+
#Parameters (electronic)
14+
basis_type lcao
15+
scf_thr 1e-10
16+
17+
calculation scf
18+
out_wfc_lcao 1

tests/integrate/212_NO_wfc_out/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 1 1 0 0 0
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#This is the atom file containing all the information
2+
#about the lattice structure.
3+
4+
ATOMIC_SPECIES
5+
H 1.0008 H_ONCV_PBE-1.0.upf
6+
7+
NUMERICAL_ORBITAL
8+
H_gga_6au_60Ry_2s1p.orb
9+
10+
LATTICE_CONSTANT
11+
10.0 #Lattice constant
12+
13+
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

tests/integrate/212_NO_wfc_out/jd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test out_wfc_lcao > 0
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
etotref -31.72940050479744
2+
etotperatomref -15.8647002524
3+
LOWF_K_1.dat 42.058102
4+
LOWF_K_2.dat 43.760182
5+
totaltimeref 0.63360
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
INPUT_PARAMETERS
2+
#Parameters (System)
3+
suffix autotest
4+
ntype 1
5+
nbands 4
6+
stru_file STRU
7+
kpoint_file KPT
8+
pseudo_dir ../tools/PP_ORB/
9+
orbital_dir ../tools/PP_ORB/
10+
latname sc
11+
#Parameters (PW)
12+
ecutwfc 25.0 # Rydberg
13+
#Parameters (electronic)
14+
basis_type lcao
15+
scf_thr 1e-10
16+
17+
calculation scf
18+
gamma_only 1
19+
out_wfc_lcao 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
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#This is the atom file containing all the information
2+
#about the lattice structure.
3+
4+
ATOMIC_SPECIES
5+
H 1.0008 H_ONCV_PBE-1.0.upf
6+
7+
NUMERICAL_ORBITAL
8+
H_gga_6au_60Ry_2s1p.orb
9+
10+
LATTICE_CONSTANT
11+
10.0 #Lattice constant
12+
13+
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
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test out_wfc_lcao > 0 for gamma only

0 commit comments

Comments
 (0)