Skip to content

Commit 895bc42

Browse files
committed
test: add tests for fixed_axes in cell-relax
1 parent 4b81efc commit 895bc42

File tree

50 files changed

+541
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+541
-4
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
INPUT_PARAMETERS
2+
#Parameters (General)
3+
suffix autotest
4+
pseudo_dir ../tools/PP_ORB/
5+
ntype 1
6+
nbands 8
7+
calculation cell-relax
8+
9+
#Parameters (Accuracy)
10+
ecutwfc 20
11+
niter 20
12+
13+
basis_type pw
14+
nstep 2
15+
16+
stress 1
17+
stress_thr 1e-6
18+
force 1
19+
force_thr_ev 1.0e-3
20+
21+
mixing_type pulay
22+
mixing_beta 0.7
23+
mixing_gg0 1.5
24+
25+
fixed_axes a
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 2 2 0 0 0
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
This test for: cell-relax
2+
*fix a axe
3+
*Si-deformation
4+
*PW
5+
*kpoints 2*2*2
6+
*sg15 pseudopotential
7+
*smearing gauss
8+
*ks_solver cg
9+
*mixing_type pulay-kerker
10+
*mixing_beta 0.7
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
ATOMIC_SPECIES
2+
Si 1.000 Si_ONCV_PBE-1.0.upf #Element, Mass, Pseudopotential
3+
4+
NUMERICAL_ORBITAL
5+
../tools/PP_ORB/Si_gga_8au_60Ry_2s2p1d.orb
6+
7+
LATTICE_CONSTANT
8+
10.21 #Lattice constant
9+
10+
LATTICE_VECTORS
11+
0.5 0.5 0.0 #Lattice vector 1
12+
0.5 0.0 0.5 #Lattice vector 2
13+
0.0 0.5 0.5 #Lattice vector 3
14+
15+
ATOMIC_POSITIONS
16+
Cartesian #Cartesian(Unit is LATTICE_CONSTANT)
17+
Si #Name of element
18+
0.0 #Magnetic for this element.
19+
2 #Number of atoms
20+
0.00 0.00 0.00 0 0 0 #x,y,z, move_x, move_y, move_z
21+
0.25 0.25 0.25 0 0 0

tests/integrate/109_PW_CR_fix_a/jd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test cell-relax for the fixed a axe
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
etotref -211.8207678645103726
2+
etotperatomref -105.9103839323
3+
totalforceref 0.046640
4+
totalstressref 355.693369
5+
totaltimeref +1.58581
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
INPUT_PARAMETERS
2+
#Parameters (General)
3+
suffix autotest
4+
pseudo_dir ../tools/PP_ORB/
5+
ntype 1
6+
nbands 8
7+
calculation cell-relax
8+
9+
#Parameters (Accuracy)
10+
ecutwfc 20
11+
niter 20
12+
13+
basis_type pw
14+
nstep 2
15+
16+
stress 1
17+
stress_thr 1e-6
18+
force 1
19+
force_thr_ev 1.0e-3
20+
21+
mixing_type pulay
22+
mixing_beta 0.7
23+
mixing_gg0 1.5
24+
25+
fixed_axes ab
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 2 2 0 0 0
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
This test for: cell-relax
2+
*fix ab axe
3+
*Si-deformation
4+
*PW
5+
*kpoints 2*2*2
6+
*sg15 pseudopotential
7+
*smearing gauss
8+
*ks_solver cg
9+
*mixing_type pulay-kerker
10+
*mixing_beta 0.7
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
ATOMIC_SPECIES
2+
Si 1.000 Si_ONCV_PBE-1.0.upf #Element, Mass, Pseudopotential
3+
4+
NUMERICAL_ORBITAL
5+
../tools/PP_ORB/Si_gga_8au_60Ry_2s2p1d.orb
6+
7+
LATTICE_CONSTANT
8+
10.21 #Lattice constant
9+
10+
LATTICE_VECTORS
11+
0.5 0.5 0.0 #Lattice vector 1
12+
0.5 0.0 0.5 #Lattice vector 2
13+
0.0 0.5 0.5 #Lattice vector 3
14+
15+
ATOMIC_POSITIONS
16+
Cartesian #Cartesian(Unit is LATTICE_CONSTANT)
17+
Si #Name of element
18+
0.0 #Magnetic for this element.
19+
2 #Number of atoms
20+
0.00 0.00 0.00 0 0 0 #x,y,z, move_x, move_y, move_z
21+
0.25 0.25 0.25 0 0 0

0 commit comments

Comments
 (0)