Skip to content

Commit 5366a1f

Browse files
authored
Merge pull request #813 from YuLiu98/develop
update name of some INPUT parameters
2 parents 42f6591 + 462c540 commit 5366a1f

File tree

261 files changed

+637
-638
lines changed

Some content is hidden

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

261 files changed

+637
-638
lines changed

doc/examples/band-struc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ read_file_dir ./
2121
#Parameters (Accuracy)
2222
ecutwfc 60
2323
scf_nmax 50
24-
scf_thr_rho 1.0e-9
25-
diag_thr_e 1.0e-7
24+
scf_thr 1.0e-9
25+
pw_diag_thr 1.0e-7
2626
2727
#Parameters (File)
2828
init_chg file

doc/examples/basic-lcao.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ basis:
5252
---------------------------------------------------------
5353
SELF-CONSISTENT :
5454
---------------------------------------------------------
55-
ITER ETOT(eV) EDIFF(eV) SCF_THR_RHO TIME(s)
55+
ITER ETOT(eV) EDIFF(eV) SCF_THR TIME(s)
5656
GE1 -2.138667e+02 0.000000e+00 1.652e-01 4.690e+00
5757
GE2 -2.139153e+02 -4.859216e-02 3.480e-02 4.970e+00
5858
GE3 -2.139161e+02 -8.407097e-04 4.131e-03 4.760e+00

doc/examples/basic-pw.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ For this example, the input files are:
1616
suffix Si2_diamond
1717
symmetry 1
1818
scf_nmax 60
19-
scf_thr_rho 1.0e-9
19+
scf_thr 1.0e-9
2020
out_chg 1
2121
```
2222
@@ -50,7 +50,7 @@ For this example, the input files are:
5050
5151
- scf_nmax
5252
The maximal iteration number for electronic-structure calculations.
53-
- scf_thr_rho
53+
- scf_thr
5454
Tolerance of the difference of charge density, below which the self-consistent calculation is considered to be converged.
5555
- out_chg
5656
Print out the charge density(=1) or not(=0).
@@ -131,7 +131,7 @@ The following typical output information will be printed to the screen:
131131
-------------------------------------------
132132
SELF-CONSISTENT :
133133
-------------------------------------------
134-
ITER ETOT(eV) EDIFF(eV) SCF_THR_RHO CG_ITER TIME(S)
134+
ITER ETOT(eV) EDIFF(eV) SCF_THR CG_ITER TIME(S)
135135
CG1 -2.154524e+02 0.000000e+00 6.855e-02 1.000e+00 1.290e+00
136136
CG2 -2.154992e+02 -4.673475e-02 2.378e-03 2.000e+00 8.400e-01
137137
CG3 -2.155050e+02 -5.882715e-03 8.220e-05 2.594e+00 9.000e-01

doc/examples/berry-phase.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ nbands 25 // number of bands
2727
ecutwfc 50 // Ry
2828
scf_nmax 20
2929
symmetry 0 // turn off symmetry
30-
diag_thr_e 1e-10
30+
pw_diag_thr 1e-10
3131
smearing_method gaussian // gaussian smearing
3232
smearing_sigma 0.002 // Ry
3333
calculation nscf // non-self-consistent calculation

doc/examples/dispersion.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Below is an example using DFT + dispersion calculation:
2525
INPUT_PARAMETERS
2626
ntype 2
2727
ecutwfc 20
28-
scf_thr_rho 1e-06
28+
scf_thr 1e-06
2929
scf_nmax 400
3030
basis_type lcao
3131
ks_solver genelpa
@@ -125,7 +125,7 @@ The files (`Sn_ONCV_PBE-1.0.upf`,`Te_ONCV_PBE-1.0.upf`,`Sn_pbe_9.0au_100Ry_2s2p2
125125
---------------------------------------------------------
126126
SELF-CONSISTENT :
127127
---------------------------------------------------------
128-
ITER ETOT(eV) EDIFF(eV) SCF_THR_RHO TIME(s)
128+
ITER ETOT(eV) EDIFF(eV) SCF_THR TIME(s)
129129
GE1 -4.263615e+03 0.000000e+00 1.030e-01 1.030e+00
130130
GE2 -4.262783e+03 8.325232e-01 6.041e-02 1.010e+00
131131
GE3 -4.262610e+03 1.722243e-01 2.263e-02 1.040e+00

doc/examples/dos.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ read_file_dir ./
2323
ecutwfc 60
2424
symmetry 1
2525
scf_nmax 50
26-
scf_thr_rho 1.0e-9
27-
diag_thr_e 1.0e-7
26+
scf_thr 1.0e-9
27+
pw_diag_thr 1.0e-7
2828
2929
#Parameters (File)
3030
init_chg file
@@ -42,9 +42,9 @@ Some parameters in the INPUT file are explained:
4242

4343
choose which kind of calculation: scf calculation, nscf calculation, structure relaxation or Molecular Dynamics. Now we need to do one step of nscf calculation.
4444
Attention: This is a main variable of ABACUS, and for its more information please see the [list of input variables](../input-main.md).
45-
- diag_thr_e
45+
- pw_diag_thr
4646

47-
threshold for the CG method which diagonalizes the Hamiltonian to get eigenvalues and eigen wave functions. If one wants to do nscf calculation, diag_thr_e needs to be changed to a smaller account, typically smaller than 1.0e-3. Note that this parameter only apply to plane-wave calculations that employ the CG method to diagonalize the Hamiltonian.
47+
threshold for the CG method which diagonalizes the Hamiltonian to get eigenvalues and eigen wave functions. If one wants to do nscf calculation, pw_diag_thr needs to be changed to a smaller account, typically smaller than 1.0e-3. Note that this parameter only apply to plane-wave calculations that employ the CG method to diagonalize the Hamiltonian.
4848

4949
For LCAO calculations, this parameter will be neglected !
5050
- init_chg

doc/examples/force.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ relax_bfgs_init 0.5
4444

4545
- `cg_bfgs`
4646

47-
A mixed cg-bfgs method. For detail description, check out the variable relax_cg_thr_e in the [list of input keywords](../input-main.md#cg-threshold).
47+
A mixed cg-bfgs method. For detail description, check out the variable relax_cg_thr in the [list of input keywords](../input-main.md#cg-threshold).
4848

4949
- `sd`
5050

doc/examples/md.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ smearing_method gaussian
2424
smearing_sigma 0.02
2525
#Parameters (3.PW)
2626
ecutwfc 30
27-
scf_thr_rho 1e-5
27+
scf_thr 1e-5
2828
scf_nmax 100
2929
3030
#Parameters (5.LCAO)

doc/examples/potential.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ gamma_only 0
1313
1414
#Parameters (2.Iteration)
1515
ecutwfc 50
16-
scf_thr_rho 1e-8
16+
scf_thr 1e-8
1717
scf_nmax 200
1818
1919
#Parameters (3.Basis)

doc/examples/tddft.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ basis_type lcao
2424
out_chg 1
2525
gamma_only 0
2626
md_nstep 2000
27-
scf_thr_rho 1.0e-6
27+
scf_thr 1.0e-6
2828
md_type 0
2929
md_dt 0.01
3030
md_tfirst 30

0 commit comments

Comments
 (0)