-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #818 from dyzheng/new
fix : support both element magnetization and atomic magnetization for initial setting in STRU file
- Loading branch information
Showing
9 changed files
with
78 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
test for initial magnetization from elements, anti-ferromagnetic Fe2, 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,34 @@ | ||
INPUT_PARAMETERS | ||
suffix autotest | ||
ntype 2 | ||
#nbands 40 | ||
|
||
calculation scf | ||
ecutwfc 20 | ||
scf_thr 1.0e-8 | ||
scf_nmax 50 | ||
out_chg 0 | ||
|
||
#init_chg file | ||
#out_dos 1 | ||
#dos_sigma 0.05 | ||
#out_band 1 | ||
|
||
smearing_method gaussian | ||
smearing_sigma 0.02 | ||
|
||
#cal_force 1 | ||
#force_thr_ev 0.01 | ||
#relax_method cg | ||
#relax_bfgs_init 0.5 | ||
|
||
mixing_type pulay | ||
mixing_beta 0.4 | ||
|
||
|
||
ks_solver genelpa | ||
basis_type lcao | ||
gamma_only 1 | ||
symmetry 0 | ||
nspin 2 | ||
|
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 | ||
1 1 1 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,29 @@ | ||
ATOMIC_SPECIES | ||
Fe1 1.000 ../tools/PP_ORB/Fe_ONCV_PBE-1.0.upf | ||
Fe2 1.000 ../tools/PP_ORB/Fe_ONCV_PBE-1.0.upf | ||
|
||
NUMERICAL_ORBITAL | ||
../tools/PP_ORB/Fe_gga_9au_100Ry_4s2p2d1f.orb | ||
../tools/PP_ORB/Fe_gga_9au_100Ry_4s2p2d1f.orb | ||
|
||
LATTICE_CONSTANT | ||
15 | ||
|
||
LATTICE_VECTORS | ||
1.00 0.50 0.50 | ||
0.50 1.00 0.50 | ||
0.50 0.50 1.00 | ||
ATOMIC_POSITIONS | ||
Direct | ||
|
||
Fe1 | ||
0.0 | ||
1 | ||
0.00 0.00 0.00 1 1 1 mag 1.0 | ||
|
||
Fe2 | ||
0.0 | ||
1 | ||
0.50 0.50 0.50 1 1 1 mag -1.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 @@ | ||
test for initial magnetization from atoms, anti-ferromagnetic Fe2, 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,3 @@ | ||
etotref -6372.520190217967 | ||
etotperatomref -3186.2600951090 | ||
totaltimeref 12.081 |
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