ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
ions_move_sd Namespace Reference

Functions

void cal_tradius_sd (const int istep, std::vector< double > &etot_info, const std::string &out_level)
 Update the steepest-descent trust radius from the energy history.

Function Documentation

◆ cal_tradius_sd()

void ions_move_sd::cal_tradius_sd ( const int istep,
std::vector< double > & etot_info,
const std::string & out_level )

Update the steepest-descent trust radius from the energy history.

Depends only on its arguments and on the shared Ions_Move_Basic state, so it is a free function rather than a member.

Parameters
istepCurrent ionic step index (must be >= 1)
etot_infoEnergy information array [etot, etot_p]
out_levelOutput verbosity level ("ie" prints the radius to stdout)
Here is the call graph for this function:
Here is the caller graph for this function: