Skip to content

Fix the misleading annotation of soc_lambda #6438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions source/source_io/module_parameter/input_parameter.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@ struct Input_para

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

// ============== #Parameters (3.LCAO) ===========================
int nb2d = 0; ///< matrix 2d division.
Expand Down
3 changes: 1 addition & 2 deletions source/source_io/read_input_item_elec_stru.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -716,8 +716,7 @@ void ReadInput::item_elec_stru()
}
{
Input_Item item("soc_lambda");
item.annotation = "The fraction of averaged SOC pseudopotential is "
"given by (1-soc_lambda)";
item.annotation = "The fraction of SOC based on scalar relativity (SR) of the pseudopotential";
read_sync_double(input.soc_lambda);
this->add_item(item);
}
Expand Down
2 changes: 1 addition & 1 deletion source/source_io/test/support/INPUT
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ mem_saver 0 #Only for nscf calculations. if set to 1, then
diago_proc 4 #the number of procs used to do diagonalization
nbspline -1 #the order of B-spline basis
wannier_card none #input card for wannier functions
soc_lambda 1 #The fraction of averaged SOC pseudopotential is given by (1-soc_lambda)
soc_lambda 1 #The fraction of SOC based on scalar relativity (SR) of the pseudopotential
cal_force 0 #if calculate the force at the end of the electronic iteration
out_freq_ion 0 #the frequency ( >= 0 ) of ionic step to output charge density and wavefunction. 0: output only when ion steps are finished
device cpu #the computing device for ABACUS
Expand Down
Loading