You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix some minor formatting issue for the input-main.md (#6983)
* Fix formatting issue for input-main and update type info
- Update the type field of parameter item field where multiple values
are expected.
- Fixed formatting issue in input-main.md where > and < are not escaped
correctly.
* Fix more formating issues
Fixed some LaTeX issue and unify the description of types.
* Add automatic escaping for < and >
Escaping is performed when the md file is generated.
* Minor wording updates
**Important:** Include the updated `docs/parameters.yaml` in your commit when submitting a PR that modifies INPUT parameters. Reviewers should verify the YAML changes match the C++ source changes.
194
+
**Important:** Include the updated `docs/parameters.yaml`and `input-main.md`in your commit when submitting a PR that modifies INPUT parameters. Reviewers should verify the YAML changes match the C++ source changes and the `input-main.md` is updated.
Copy file name to clipboardExpand all lines: docs/parameters.yaml
+26-26Lines changed: 26 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -216,7 +216,7 @@ parameters:
216
216
availability: ""
217
217
- name: kspacing
218
218
category: System variables
219
-
type: Real
219
+
type: Vector of Real (1 or 3 values)
220
220
description: |
221
221
Set the smallest allowed spacing between k points, unit in 1/bohr. It should be larger than 0.0, and suggest smaller than 0.25. When you have set this value > 0.0, then the KPT file is unnecessary. The default value 0.0 means that ABACUS will read the applied KPT file.
222
222
@@ -577,7 +577,7 @@ parameters:
577
577
availability: ""
578
578
- name: xc_exch_ext
579
579
category: Electronic structure
580
-
type: Integer Real ...
580
+
type: Integer followed by Real values
581
581
description: |
582
582
Customized parameterization on the exchange part of XC functional. The first value should be the LibXC ID of the original functional, and latter values are external parameters. Default values are those of Perdew-Burke-Ernzerhof (PBE) functional. For more information on LibXC ID of functionals, please refer to LibXC. For parameters of functionals of interest, please refer to the source code of LibXC, such as PBE functional interface in LibXC: gga_x_pbe.c.
583
583
@@ -587,7 +587,7 @@ parameters:
587
587
availability: ""
588
588
- name: xc_corr_ext
589
589
category: Electronic structure
590
-
type: Integer Real ...
590
+
type: Integer followed by Real values
591
591
description: |
592
592
Customized parameterization on the correlation part of XC functional. The first value should be the LibXC ID of the original functional, and latter values are external parameters. Default values are those of Perdew-Burke-Ernzerhof (PBE) functional. For more information on LibXC ID of functionals, please refer to LibXC. For parameters of functionals of interest, please refer to the source code of LibXC, such as PBE functional interface in LibXC: gga_c_pbe.c.
593
593
@@ -713,7 +713,7 @@ parameters:
713
713
At n-th iteration which is calculated by drho<mixing_restart, SCF will start a mixing for real-space density matrix by using the same coefficiences as the mixing of charge density.
714
714
default_value: "false"
715
715
unit: ""
716
-
availability: "Only for mixing_restart>=0.0"
716
+
availability: "Only for mixing_restart >= 0.0"
717
717
- name: mixing_gg0
718
718
category: Electronic structure
719
719
type: Real
@@ -1075,7 +1075,7 @@ parameters:
1075
1075
availability: ""
1076
1076
- name: bessel_nao_rcut
1077
1077
category: NAOs
1078
-
type: Real
1078
+
type: Vector of Real (N values)
1079
1079
description: |
1080
1080
Cutoff radius (in Bohr) and the common node of spherical Bessel functions used to construct the NAOs.
1081
1081
default_value: "6.0"
@@ -2316,7 +2316,7 @@ parameters:
2316
2316
availability: Numerical atomic orbital basis and deepks_scf is true
2317
2317
- name: deepks_band_range
2318
2318
category: DeePKS
2319
-
type: "Int*2"
2319
+
type: "Integer*2"
2320
2320
description: |
2321
2321
The first value should not be larger than the second one and the meaning differs in different cases below
2322
2322
* deepks_bandgap is 1: Bandgap label is the energy between LUMO + deepks_band_range[0] and LUMO + deepks_band_range[1]. If not set, it will calculate energy between HOMO and LUMO states.
@@ -2672,7 +2672,7 @@ parameters:
2672
2672
availability: ""
2673
2673
- name: lr_init_xc_kernel
2674
2674
category: Linear Response TDDFT (Under Development Feature)
2675
-
type: String
2675
+
type: "Vector of String (>=1 values)"
2676
2676
description: |
2677
2677
The method to initalize the xc kernel.
2678
2678
* "default": Calculate xc kernel from the ground-state charge density.
@@ -3477,7 +3477,7 @@ parameters:
3477
3477
availability: ""
3478
3478
- name: out_wannier_mmn
3479
3479
category: Berry phase and wannier90 interface
3480
-
type: Bool
3480
+
type: Boolean
3481
3481
description: |
3482
3482
Write the "*.mmn" file or not.
3483
3483
* 0: don't write the "*.mmn" file.
@@ -3487,7 +3487,7 @@ parameters:
3487
3487
availability: ""
3488
3488
- name: out_wannier_amn
3489
3489
category: Berry phase and wannier90 interface
3490
-
type: Bool
3490
+
type: Boolean
3491
3491
description: |
3492
3492
Write the "*.amn" file or not.
3493
3493
* 0: don't write the "*.amn" file.
@@ -3497,7 +3497,7 @@ parameters:
3497
3497
availability: ""
3498
3498
- name: out_wannier_eig
3499
3499
category: Berry phase and wannier90 interface
3500
-
type: Bool
3500
+
type: Boolean
3501
3501
description: |
3502
3502
Write the "*.eig" file or not.
3503
3503
* 0: don't write the "*.eig" file.
@@ -3507,7 +3507,7 @@ parameters:
3507
3507
availability: ""
3508
3508
- name: out_wannier_unk
3509
3509
category: Berry phase and wannier90 interface
3510
-
type: Bool
3510
+
type: Boolean
3511
3511
description: |
3512
3512
Write the "UNK.*" file or not.
3513
3513
* 0: don't write the "UNK.*" file.
@@ -3517,7 +3517,7 @@ parameters:
3517
3517
availability: ""
3518
3518
- name: out_wannier_wvfn_formatted
3519
3519
category: Berry phase and wannier90 interface
3520
-
type: Bool
3520
+
type: Boolean
3521
3521
description: |
3522
3522
Write the "UNK.*" file in ASCII format or binary format.
3523
3523
* 0: write the "UNK.*" file in binary format.
@@ -3840,25 +3840,25 @@ parameters:
3840
3840
availability: ""
3841
3841
- name: exx_fock_alpha
3842
3842
category: Exact Exchange (Common)
3843
-
type: "Real\\Real...\\"
3843
+
type: Real
3844
3844
description: |
3845
-
Fraction of full-ranged Fock exchange 1/r () in range-separated hybrid funtionals, so that .
3845
+
Fraction of full-ranged Fock exchange $1/r$ in range-separated hybrid functionals.
3846
3846
default_value: see hybrid_func_params
3847
3847
unit: ""
3848
3848
availability: ""
3849
3849
- name: exx_erfc_alpha
3850
3850
category: Exact Exchange (Common)
3851
-
type: "Real\\Real...\\"
3851
+
type: Real
3852
3852
description: |
3853
-
Fraction of short-ranged Fock exchange erfc(wr)/r () in range-separated hybrid funtionals, so that .
3853
+
Fraction of short-ranged Fock exchange $\mathrm{erfc}(\omega r)/r$ in range-separated hybrid functionals.
3854
3854
default_value: see hybrid_func_params
3855
3855
unit: ""
3856
3856
availability: ""
3857
3857
- name: exx_erfc_omega
3858
3858
category: Exact Exchange (Common)
3859
-
type: "Real\\Real...\\"
3859
+
type: Real
3860
3860
description: |
3861
-
Range-separation parameter in exchange, such that
3861
+
Range-separation parameter $\omega$ in the short-ranged Fock term $\mathrm{erfc}(\omega r)/r$.
3862
3862
default_value: see hybrid_func_params
3863
3863
unit: ""
3864
3864
availability: ""
@@ -3890,7 +3890,7 @@ parameters:
3890
3890
availability: exx_separate_loop==1
3891
3891
- name: exx_fock_lambda
3892
3892
category: Exact Exchange (LCAO in PW)
3893
-
type: "Real\\Real...\\"
3893
+
type: Real
3894
3894
description: |
3895
3895
It is used to compensate for divergence points at G=0 in the evaluation of Fock exchange using lcao_in_pw method.
3896
3896
default_value: "0.3"
@@ -4064,7 +4064,7 @@ parameters:
4064
4064
availability: basis_type==lcao
4065
4065
- name: orbital_corr
4066
4066
category: DFT+U correction
4067
-
type: Integer
4067
+
type: Vector of Integer (n values where n is the number of atomic types)
4068
4068
description: |
4069
4069
Specifies which orbits need plus U correction for each atom type ( for atom type 1, 2, 3, respectively).
4070
4070
* -1: The plus U correction will not be calculated for this atom.
@@ -4076,7 +4076,7 @@ parameters:
4076
4076
availability: ""
4077
4077
- name: hubbard_u
4078
4078
category: DFT+U correction
4079
-
type: Real
4079
+
type: Vector of Real (n values where n is the number of atomic types)
4080
4080
description: |
4081
4081
Specifies the Hubbard Coulomb interaction parameter U (eV) in plus U correction, which should be specified for each atom unless the Yukawa potential is used.
4082
4082
@@ -4119,16 +4119,16 @@ parameters:
4119
4119
* 1: The first SCF step will use an initial density matrix read from a file named initial_onsite.dm, but for later steps, the onsite density matrix will be updated.
4120
4120
* 2: The same onsite density matrix from initial_onsite.dm will be used throughout the entire calculation.
4121
4121
4122
-
[NOTE] Note : The easiest way to create initial_onsite.dm is to run a DFT+U calculation, look for a file named onsite.dm in the OUT.prefix directory, and make replacements there. The format of the file is rather straight-forward.
4122
+
[NOTE] The easiest way to create initial_onsite.dm is to run a DFT+U calculation, look for a file named onsite.dm in the OUT.prefix directory, and make replacements there. The format of the file is rather straight-forward.
4123
4123
default_value: "0"
4124
4124
unit: ""
4125
4125
availability: ""
4126
4126
- name: onsite_radius
4127
4127
category: DFT+U correction
4128
4128
type: Real
4129
4129
description: |
4130
-
* The Onsite-radius parameter facilitates modulation of the single-zeta portion of numerical atomic orbitals for projections for DFT+U.
4131
-
* The modulation algorithm includes a smooth truncation applied directly to the tail of the original orbital, followed by normalization. Consider the function: $\sigmar_c\sigmaf'(r)\equiv \mathrm{d}f(r)/\mathrm{d}r\gamma$ is a parameter that adjusts the relative weight of the error function to the derivative error function.
4130
+
* The onsite_radius parameter facilitates modulation of the single-zeta portion of numerical atomic orbitals used for DFT+U projections.
4131
+
* The modulation algorithm applies a smooth truncation to the orbital tail followed by normalization. A representative profile is $f(r)=\frac{1}{2}\left[1+\operatorname{erf}\!\left(\frac{r_c-r}{\sigma}\right)\right]$, where $r_c$ is the cutoff radius and $\sigma=\gamma r_c$ controls smoothness.
4132
4132
default_value: "3.0"
4133
4133
unit: Bohr
4134
4134
availability: dft_plus_u is set to 1
@@ -4233,15 +4233,15 @@ parameters:
4233
4233
availability: ""
4234
4234
- name: qo_strategy
4235
4235
category: Quasiatomic Orbital (QO) analysis
4236
-
type: String
4236
+
type: Vector of String (1 or n values where n is the number of atomic types)
4237
4237
description: |
4238
4238
Strategy to generate radial orbitals for QO analysis. For hydrogen: energy-valence, for pswfc and szv: all
4239
4239
default_value: "for hydrogen: energy-valence, for pswfc and szv: all"
4240
4240
unit: ""
4241
4241
availability: ""
4242
4242
- name: qo_screening_coeff
4243
4243
category: Quasiatomic Orbital (QO) analysis
4244
-
type: Real
4244
+
type: Vector of Real (n values where n is the number of atomic types; 1 value allowed for qo_basis=pswfc)
4245
4245
description: |
4246
4246
The screening coefficient for each atom type to rescale the shape of radial orbitals
Copy file name to clipboardExpand all lines: source/source_io/module_parameter/read_input_item_deepks.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -247,7 +247,7 @@ void ReadInput::item_deepks()
247
247
Input_Item item("deepks_band_range");
248
248
item.annotation = "(int, int) range of bands for bandgap label";
249
249
item.category = "DeePKS";
250
-
item.type = "Int*2";
250
+
item.type = "Integer*2";
251
251
item.description = R"(The first value should not be larger than the second one and the meaning differs in different cases below
252
252
* deepks_bandgap is 1: Bandgap label is the energy between LUMO + deepks_band_range[0] and LUMO + deepks_band_range[1]. If not set, it will calculate energy between HOMO and LUMO states.
253
253
* deepks_bandgap is 2: Bandgap labels are energies between HOMO and all states in range [LUMO + deepks_band_range[0], LUMO + deepks_band_range[1]] (Thus there are deepks_band_range[1] - deepks_band_range[0] + 1 bandgaps in total). If HOMO is included in the setting range, it will be ignored since it will always be zero and has no valuable messages (deepks_band_range[1] - deepks_band_range[0] bandgaps in this case). NOTICE: The set range can be greater than, less than, or include the value of HOMO. In the bandgap label, we always calculate the energy of the state in the set range minus the energy of HOMO state, so the bandgap can be negative if the state is lower than HOMO.)";
Copy file name to clipboardExpand all lines: source/source_io/module_parameter/read_input_item_elec_stru.cpp
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -350,7 +350,7 @@ The other way is only available when compiling with LIBXC, and it allows for sup
350
350
Input_Item item("xc_exch_ext");
351
351
item.annotation = "placeholder for xcpnet exchange functional";
352
352
item.category = "Electronic structure";
353
-
item.type = "Integer Real ...";
353
+
item.type = "Integer followed by Real values";
354
354
item.description = "Customized parameterization on the exchange part of XC functional. The first value should be the LibXC ID of the original functional, and latter values are external parameters. Default values are those of Perdew-Burke-Ernzerhof (PBE) functional. For more information on LibXC ID of functionals, please refer to LibXC. For parameters of functionals of interest, please refer to the source code of LibXC, such as PBE functional interface in LibXC: gga_x_pbe.c."
355
355
"\n\n[NOTE] Solely setting this keyword will take no effect on XC functionals. One should also set "
356
356
"dft_functional to the corresponding functional to apply the customized parameterization. "
@@ -393,7 +393,7 @@ The other way is only available when compiling with LIBXC, and it allows for sup
393
393
Input_Item item("xc_corr_ext");
394
394
item.annotation = "placeholder for xcpnet exchange functional";
395
395
item.category = "Electronic structure";
396
-
item.type = "Integer Real ...";
396
+
item.type = "Integer followed by Real values";
397
397
item.description = "Customized parameterization on the correlation part of XC functional. The first value should be the LibXC ID of the original functional, and latter values are external parameters. Default values are those of Perdew-Burke-Ernzerhof (PBE) functional. For more information on LibXC ID of functionals, please refer to LibXC. For parameters of functionals of interest, please refer to the source code of LibXC, such as PBE functional interface in LibXC: gga_c_pbe.c."
398
398
"\n\n[NOTE] Solely setting this keyword will take no effect on XC functionals. One should also set "
399
399
"dft_functional to the corresponding functional to apply the customized parameterization. "
@@ -675,7 +675,7 @@ For systems that are difficult to converge, one could try increasing the value o
675
675
item.description = "At n-th iteration which is calculated by drho<mixing_restart, SCF will start a mixing for real-space density matrix by using the same coefficiences as the mixing of charge density.";
676
676
item.default_value = "false";
677
677
item.unit = "";
678
-
item.availability = "Only for mixing_restart>=0.0";
678
+
item.availability = "Only for mixing_restart >= 0.0";
679
679
read_sync_bool(input.mixing_dmr);
680
680
this->add_item(item);
681
681
}
@@ -1350,7 +1350,7 @@ Use case: When experimental or high-level theoretical results suggest that the S
1350
1350
Input_Item item("bessel_nao_rcut");
1351
1351
item.annotation = "radial cutoff for spherical bessel functions(a.u.)";
1352
1352
item.category = "NAOs";
1353
-
item.type = "Real";
1353
+
item.type = "Vector of Real (N values)";
1354
1354
item.description = "Cutoff radius (in Bohr) and the common node of spherical Bessel functions used to construct the NAOs.";
0 commit comments