Skip to content

Commit 83a370b

Browse files
authored
Merge branch 'develop' into fft2
2 parents 731bf87 + dcff74d commit 83a370b

File tree

181 files changed

+3626
-3493
lines changed

Some content is hidden

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

181 files changed

+3626
-3493
lines changed

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
env:
2626
OMP_NUM_THREADS: 1
2727
run: |
28-
cmake --build build --target test ARGS="-V --timeout 21600"
28+
cmake --build build --target test ARGS="-V --timeout 21600" || exit 0
2929
- name: Upload Coverage to Codecov
3030
uses: codecov/codecov-action@v4
3131
if: ${{ ! cancelled() }}

docs/advanced/input_files/input-main.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,7 @@ Note: In new angle mixing, you should set `mixing_beta_mag >> mixing_beta`. The
11761176

11771177
- **Type**: Integer
11781178
- **Description**: Print out energy for each band for every printe step
1179-
- **Default**: 100
1179+
- **Default**: `scf_nmax`
11801180

11811181
### scf_nmax
11821182

examples/bravais_lattice/fcc_SiO2/INPUT

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@ INPUT_PARAMETERS
33
pseudo_dir ../../../tests/PP_ORB
44
calculation scf
55
#Parameters (Accuracy)
6-
ecutwfc 50
6+
ecutwfc 60 ###Energy cutoff needs to be tested to ensure your calculation is reliable.[1]
77
scf_thr 1e-8
88
scf_nmax 20
99
basis_type pw
1010
latname fcc
11+
12+
13+
### [1] Energy cutoff determines the quality of numerical quadratures in your calculations.
14+
### So it is strongly recommended to test whether your result (such as converged SCF energies) is
15+
### converged with respect to the energy cutoff.

examples/bravais_lattice/hexagonal_MoS2/INPUT

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@ INPUT_PARAMETERS
33
pseudo_dir ../../../tests/PP_ORB
44
calculation scf
55
#Parameters (Accuracy)
6-
ecutwfc 50
6+
ecutwfc 60 ###Energy cutoff needs to be tested to ensure your calculation is reliable.[1]
77
scf_thr 1e-8
88
scf_nmax 20
99
smearing_sigma 0.002
1010
basis_type pw
1111
latname hexagonal
12+
13+
14+
### [1] Energy cutoff determines the quality of numerical quadratures in your calculations.
15+
### So it is strongly recommended to test whether your result (such as converged SCF energies) is
16+
### converged with respect to the energy cutoff.
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
INPUT_PARAMETERS
22
pseudo_dir ../../../tests/PP_ORB
33
calculation scf
4-
ecutwfc 50
4+
ecutwfc 60 ###Energy cutoff needs to be tested to ensure your calculation is reliable.[1]
55
scf_thr 1e-08
66
scf_nmax 100
77
basis_type pw
88
latname so
9+
10+
11+
### [1] Energy cutoff determines the quality of numerical quadratures in your calculations.
12+
### So it is strongly recommended to test whether your result (such as converged SCF energies) is
13+
### converged with respect to the energy cutoff.

examples/bsse/water/INPUT

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@ INPUT_PARAMETERS
33
pseudo_dir ../../../tests/PP_ORB
44
orbital_dir ../../../tests/PP_ORB
55
#Parameters (Accuracy)
6-
ecutwfc 50
6+
ecutwfc 60 ### Please refer to orbital files[1] to set ecutwfc for LCAO basis.
77
scf_nmax 100
88
scf_thr 1e-6
99
basis_type lcao
1010

11-
gamma_only 1
11+
gamma_only 1 ### Abacus will generate KPT file when gamma_only=1.
1212

1313
smearing_method gauss
1414
smearing_sigma 0.02
15+
16+
17+
### [1]The energy cutoff of a LCAO basis can be found in lines starting with "Energy Cutoff" of a .orb file.

examples/charge_density/lcao_nspin1_Si2/INPUT

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ nbands 8
88
basis_type lcao
99
symmetry 0
1010
#Parameters (Accuracy)
11-
ecutwfc 50
11+
ecutwfc 60 ### Please refer to orbital files[1] to set ecutwfc for LCAO basis.
1212
scf_thr 1.0e-7 // about iteration
1313
scf_nmax 100
1414
#Parameters (File)
1515
out_chg 1
16+
17+
18+
### [1]The energy cutoff of a LCAO basis can be found in lines starting with "Energy Cutoff" of a .orb file.

examples/charge_density/pw_nspin1_Al/INPUT

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,15 @@ calculation scf
55
symmetry 0
66
#Parameters (Methos)
77
basis_type pw
8-
ecutwfc 50
8+
ecutwfc 60 ###Energy cutoff needs to be tested to ensure your calculation is reliable.[1]
99
scf_thr 1.0e-8 // about iteration
1010
scf_nmax 100
1111
smearing_method gauss
12-
smearing_sigma 0.01
12+
smearing_sigma 0.015
1313
#Parameters (File)
1414
out_chg 1
15+
16+
17+
### [1] Energy cutoff determines the quality of numerical quadratures in your calculations.
18+
### So it is strongly recommended to test whether your result (such as converged SCF energies) is
19+
### converged with respect to the energy cutoff.

examples/charge_density/pw_nspin2_Fe/INPUT

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ symmetry 1
44

55
calculation scf
66
nspin 2
7-
ecutwfc 50
7+
ecutwfc 60 ###Energy cutoff needs to be tested to ensure your calculation is reliable.[1]
88
scf_thr 1.0e-8
99
scf_nmax 50
1010
out_chg 1
@@ -18,3 +18,8 @@ smearing_sigma 0.07
1818
mixing_type broyden
1919
mixing_beta 0.5
2020

21+
22+
23+
### [1] Energy cutoff determines the quality of numerical quadratures in your calculations.
24+
### So it is strongly recommended to test whether your result (such as converged SCF energies) is
25+
### converged with respect to the energy cutoff.

examples/compensating_charge/Pt-slab/INPUT

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ dft_functional pbe
44
symmetry 0
55
cal_force 1
66
calculation scf
7-
ecutwfc 60
7+
ecutwfc 60 ###Energy cutoff needs to be tested to ensure your calculation is reliable.[1]
88
scf_nmax 200
99
scf_thr 1.0e-7
1010
basis_type pw
11-
gamma_only 1
11+
gamma_only 1 ### Abacus will generate KPT file when gamma_only=1.
1212
smearing_method gauss
1313
smearing_sigma 0.02
1414
mixing_type broyden
@@ -22,3 +22,8 @@ block_up 0.75
2222
block_height 0.01
2323
block 1
2424
nelec 217
25+
26+
27+
### [1] Energy cutoff determines the quality of numerical quadratures in your calculations.
28+
### So it is strongly recommended to test whether your result (such as converged SCF energies) is
29+
### converged with respect to the energy cutoff.

0 commit comments

Comments
 (0)