Skip to content

Commit 49456ed

Browse files
authored
Fix the misleading annotation of (#6438)
1 parent 2efe796 commit 49456ed

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

source/source_io/module_parameter/input_parameter.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,7 @@ struct Input_para
123123

124124
bool lspinorb = false; ///< consider the spin-orbit interaction
125125
bool noncolin = false; ///< using non-collinear-spin
126-
double soc_lambda = 1.0; ///< The fraction of averaged SOC pseudopotential
127-
///< is given by (1-soc_lambda)
126+
double soc_lambda = 1.0; ///< The fraction of SOC based on scalar relativity (SR) of the pseudopotential
128127

129128
// ============== #Parameters (3.LCAO) ===========================
130129
int nb2d = 0; ///< matrix 2d division.

source/source_io/read_input_item_elec_stru.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -716,8 +716,7 @@ void ReadInput::item_elec_stru()
716716
}
717717
{
718718
Input_Item item("soc_lambda");
719-
item.annotation = "The fraction of averaged SOC pseudopotential is "
720-
"given by (1-soc_lambda)";
719+
item.annotation = "The fraction of SOC based on scalar relativity (SR) of the pseudopotential";
721720
read_sync_double(input.soc_lambda);
722721
this->add_item(item);
723722
}

source/source_io/test/support/INPUT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ mem_saver 0 #Only for nscf calculations. if set to 1, then
3636
diago_proc 4 #the number of procs used to do diagonalization
3737
nbspline -1 #the order of B-spline basis
3838
wannier_card none #input card for wannier functions
39-
soc_lambda 1 #The fraction of averaged SOC pseudopotential is given by (1-soc_lambda)
39+
soc_lambda 1 #The fraction of SOC based on scalar relativity (SR) of the pseudopotential
4040
cal_force 0 #if calculate the force at the end of the electronic iteration
4141
out_freq_ion 0 #the frequency ( >= 0 ) of ionic step to output charge density and wavefunction. 0: output only when ion steps are finished
4242
device cpu #the computing device for ABACUS

0 commit comments

Comments
 (0)