Skip to content

Commit

Permalink
Modify the input files of examples/interface_wannier90 to run the Wan…
Browse files Browse the repository at this point in the history
…nier90 interface correctly. (#4236)
  • Loading branch information
jingan-181 authored May 26, 2024
1 parent 30df1c8 commit 00f142d
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ nbands 12
calculation nscf
scf_nmax 50
pw_diag_thr 1.0e-12
scf_thr 1.0e-15
scf_thr 1.0e-13
init_chg file
symmetry 0
towannier90 1
nnkpfile diamond.nnkp
basis_type lcao
basis_type lcao
wannier_method 2
out_wannier_unk 0
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ ecutwfc 50
calculation scf
scf_thr 1e-13
out_chg 1
basis_type lcao
basis_type lcao
24 changes: 17 additions & 7 deletions examples/interface_wannier90/ABACUS_towannier90_lcao/diamond.win
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
num_bands = 12
num_wann = 8

Begin Projections
C:s;px;py;pz
End Projections
dis_win_min = -7.2
dis_win_max = 45
dis_froz_min = -7.2
dis_froz_max = 20
dis_num_iter = 200

dis_num_iter = 5000
num_iter = 5000
num_print_cycles = 50
begin projections
C:s;px;py;pz
end projections

wannier_plot=.true.
wannier_plot=.false.
wannier_plot_supercell = 3
wvfn_formatted = .true.

Expand All @@ -26,6 +28,14 @@ begin unit_cell_cart
-1.613990 1.613990 0.000000
end unit_cell_cart

bands_plot = true

begin kpoint_path
G 0.0000000000 0.0000000000 0.0000000000 L 0.5000000000 0.5000000000 0.5000000000
L 0.5000000000 0.5000000000 0.5000000000 W 0.5000000000 0.2500000000 0.7500000000
W 0.5000000000 0.2500000000 0.7500000000 X 0.5000000000 0.0000000000 0.5000000000
end kpoint_path

mp_grid : 4 4 4

begin kpoints
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ nbands 12
calculation nscf
scf_nmax 50
pw_diag_thr 1.0e-12
scf_thr 1.0e-15
scf_thr 1.0e-13
init_chg file
symmetry 0
towannier90 1
wannier_method 1
nnkpfile diamond.nnkp
basis_type lcao
basis_type lcao
wannier_method 1
out_wannier_unk 0

Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ ecutwfc 50
calculation scf
scf_thr 1e-13
out_chg 1
basis_type lcao_in_pw
basis_type lcao_in_pw
ks_solver lapack
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
num_bands = 12
num_wann = 8

Begin Projections
C:s;px;py;pz
End Projections
dis_win_min = -7.2
dis_win_max = 45
dis_froz_min = -7.2
dis_froz_max = 20
dis_num_iter = 200

dis_num_iter = 5000
num_iter = 5000
num_print_cycles = 50
begin projections
C:s;px;py;pz
end projections

wannier_plot=.true.
wannier_plot=.false.
wannier_plot_supercell = 3
wvfn_formatted = .true.

Expand All @@ -26,6 +28,14 @@ begin unit_cell_cart
-1.613990 1.613990 0.000000
end unit_cell_cart

bands_plot = true

begin kpoint_path
G 0.0000000000 0.0000000000 0.0000000000 L 0.5000000000 0.5000000000 0.5000000000
L 0.5000000000 0.5000000000 0.5000000000 W 0.5000000000 0.2500000000 0.7500000000
W 0.5000000000 0.2500000000 0.7500000000 X 0.5000000000 0.0000000000 0.5000000000
end kpoint_path

mp_grid : 4 4 4

begin kpoints
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ orbital_dir ../../../tests/PP_ORB
ntype 1
ecutwfc 50
nbands 4
smearing_method fixed
calculation nscf
scf_nmax 50
pw_diag_thr 1.0e-12
scf_thr 1.0e-15
scf_thr 1.0e-13
init_chg file
symmetry 0
towannier90 1
nnkpfile diamond.nnkp
basis_type pw
out_wannier_unk 0
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
num_wann = 4
num_iter = 20

wannier_plot=.true.
wannier_plot=.false.
wannier_plot_supercell = 3
wvfn_formatted = .true.

Expand Down

0 comments on commit 00f142d

Please sign in to comment.