|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
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. | |
| 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.
| istep | Current ionic step index (must be >= 1) |
| etot_info | Energy information array [etot, etot_p] |
| out_level | Output verbosity level ("ie" prints the radius to stdout) |