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: enable ecutrho/ecutwfc > 4 for ncpp (#5765)
* Fix: enable ecutrho/ecutwfc > 4 for ncpp * Tests: add integrated tests * Fix: init rhog * Fix: enable combination of ncpp and uspp * Tests: add tests * Tests: update result.ref * Tests: update tests
- Loading branch information
Showing
13 changed files
with
140 additions
and
37 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
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 |
---|---|---|
|
@@ -9,6 +9,7 @@ pseudo_dir ../../PP_ORB | |
|
||
#Parameters (2.Iteration) | ||
ecutwfc 30 | ||
ecutrho 160 | ||
scf_thr 1e-9 | ||
scf_nmax 100 | ||
|
||
|
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 |
---|---|---|
|
@@ -3,3 +3,5 @@ This test for: | |
*upf201 pseudopotential | ||
*mixing_type broyden-kerker | ||
*mixing_beta 0.7 | ||
*ecutwfc 30 | ||
*ecutrho 160 |
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 |
---|---|---|
@@ -1 +1 @@ | ||
test upf201 pseudopotential, symmetry=on | ||
test upf201 pseudopotential with ecutrho/ecutwfc > 4, symmetry=on |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
etotref -57.66876692615671 | ||
etotperatomref -57.6687669262 | ||
etotref -57.66876684738178 | ||
etotperatomref -57.6687668474 | ||
pointgroupref O_h | ||
spacegroupref O_h | ||
nksibzref 3 | ||
totaltimeref | ||
totaltimeref 0.29 |
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,30 @@ | ||
INPUT_PARAMETERS | ||
#Parameters (1.General) | ||
suffix autotest | ||
calculation scf | ||
symmetry 0 | ||
latname fcc | ||
pseudo_dir ../../PP_ORB | ||
|
||
#Parameters (2.Iteration) | ||
ecutwfc 20 | ||
ecutrho 160 | ||
scf_thr 1e-9 | ||
scf_nmax 100 | ||
|
||
#Parameters (3.Basis) | ||
basis_type pw | ||
|
||
#Parameters (4.Smearing) | ||
smearing_method gaussian | ||
smearing_sigma 0.002 | ||
|
||
#parameters (5.Mixing) | ||
mixing_type pulay | ||
mixing_beta 0.4 | ||
|
||
pseudo_mesh 1 | ||
pseudo_rcut 10 | ||
|
||
cal_force 1 | ||
cal_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,19 @@ | ||
ATOMIC_SPECIES | ||
H 1.008 H_ONCV_PBE-1.0.upf | ||
Cl 35.453 Cl.pbe-nl-rrkjus_psl.1.0.0.UPF | ||
|
||
LATTICE_CONSTANT | ||
7 | ||
|
||
ATOMIC_POSITIONS | ||
Direct | ||
|
||
H #label | ||
0 #magnetism | ||
1 #number of atoms | ||
0.00 0.00 0.00 | ||
|
||
Cl #label | ||
0 #magnetism | ||
1 #number of atoms | ||
0.51 0.00 0.00 |
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 combination of upf201 uspp and ncpp, HCl nspin=1, symmetry=off |
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 -426.8936030043360006 | ||
etotperatomref -213.4468015022 | ||
totalforceref 0.623688 | ||
totalstressref 8822.968757 | ||
totaltimeref 0.97 |
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