forked from abacusmodeling/abacus-develop
-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the Segmentation fault caused by zero atom case under LCAO basis. (…
- Loading branch information
1 parent
e25db6e
commit 9732d79
Showing
7 changed files
with
78 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
INPUT_PARAMETERS | ||
#Parameters (1.General) | ||
suffix autotest | ||
calculation scf | ||
|
||
nbands 6 | ||
symmetry 0 | ||
pseudo_dir ../../PP_ORB/ | ||
orbital_dir ../../PP_ORB/ | ||
|
||
#Parameters (2.Iteration) | ||
ecutwfc 20 | ||
|
||
#Parameters (3.Basis) | ||
basis_type lcao | ||
|
||
#Parameters (4.Smearing) | ||
smearing_method gauss | ||
smearing_sigma 0.0002 | ||
|
||
#Parameters (5.Mixing) | ||
mixing_type broyden | ||
mixing_beta 0.7 | ||
cal_force 1 | ||
test_force 1 | ||
cal_stress 1 | ||
test_stress 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
K_POINTS | ||
0 | ||
Gamma | ||
2 2 2 0 0 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
ATOMIC_SPECIES | ||
Al 13 Al_ONCV_PBE-1.0.upf upf201 | ||
Si 14 Si_ONCV_PBE-1.0.upf upf201 | ||
|
||
NUMERICAL_ORBITAL | ||
Al_gga_8au_100Ry_4s4p1d.orb | ||
Si_gga_8au_100Ry_2s2p1d.orb | ||
|
||
LATTICE_CONSTANT | ||
10.2 // add lattice constant | ||
|
||
LATTICE_VECTORS | ||
0.5 0.5 0.0 | ||
0.5 0.0 0.5 | ||
0.0 0.5 0.5 | ||
|
||
ATOMIC_POSITIONS | ||
Direct | ||
|
||
Al | ||
0.0 | ||
0 | ||
Si // Element type | ||
0.0 // magnetism | ||
2 | ||
0.00 0.00 0.00 1 1 1 | ||
0.25 0.25 0.25 1 1 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
test calculation when atom number is zero with LCAO. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
etotref -211.4490868003635171 | ||
etotperatomref -105.7245434002 | ||
totalforceref 0.000000 | ||
totalstressref 366.791415 | ||
totaltimeref 2.69 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters