#include <ions_move_methods.h>
|
| | Ions_Move_Methods () |
| | ~Ions_Move_Methods () |
| void | allocate (const int &natom, const std::string &relax_method) |
| void | cal_movement (const int &istep, const int &force_step, const ModuleBase::matrix &f, const double &etot, UnitCell &ucell, std::ofstream &ofs, std::string &relax_method, const Relax_Criteria &criteria) |
| void | reset_after_cell_change (const std::string &relax_method, std::ofstream &ofs) |
| bool | get_converged () const |
| double | get_ediff () const |
| double | get_largest_grad () const |
| double | get_trust_radius () const |
| int | get_update_iter () const |
| void | set_converged (const bool value) |
| void | set_update_iter (const int value) |
| std::vector< double > & | get_etot_info () |
| | {etot, etot_p} of the current and previous step
|
| Ions_Move_BFGS & | get_bfgs () |
| | the BFGS optimiser used by relax_method "bfgs"
|
| Ions_Move_BFGS2 & | get_bfgs_trad () |
| | the traditional BFGS optimiser used by relax_method "bfgs_trad"
|
◆ Ions_Move_Methods()
| Ions_Move_Methods::Ions_Move_Methods |
( |
| ) |
|
◆ ~Ions_Move_Methods()
| Ions_Move_Methods::~Ions_Move_Methods |
( |
| ) |
|
◆ allocate()
| void Ions_Move_Methods::allocate |
( |
const int & | natom, |
|
|
const std::string & | relax_method ) |
◆ cal_movement()
| void Ions_Move_Methods::cal_movement |
( |
const int & | istep, |
|
|
const int & | force_step, |
|
|
const ModuleBase::matrix & | f, |
|
|
const double & | etot, |
|
|
UnitCell & | ucell, |
|
|
std::ofstream & | ofs, |
|
|
std::string & | relax_method, |
|
|
const Relax_Criteria & | criteria ) |
◆ get_bfgs()
the BFGS optimiser used by relax_method "bfgs"
◆ get_bfgs_trad()
the traditional BFGS optimiser used by relax_method "bfgs_trad"
◆ get_converged()
| bool Ions_Move_Methods::get_converged |
( |
| ) |
const |
|
inline |
◆ get_ediff()
| double Ions_Move_Methods::get_ediff |
( |
| ) |
const |
|
inline |
◆ get_etot_info()
| std::vector< double > & Ions_Move_Methods::get_etot_info |
( |
| ) |
|
|
inline |
{etot, etot_p} of the current and previous step
◆ get_largest_grad()
| double Ions_Move_Methods::get_largest_grad |
( |
| ) |
const |
|
inline |
◆ get_trust_radius()
| double Ions_Move_Methods::get_trust_radius |
( |
| ) |
const |
|
inline |
◆ get_update_iter()
| int Ions_Move_Methods::get_update_iter |
( |
| ) |
const |
|
inline |
◆ reset_after_cell_change()
| void Ions_Move_Methods::reset_after_cell_change |
( |
const std::string & | relax_method, |
|
|
std::ofstream & | ofs ) |
◆ set_converged()
| void Ions_Move_Methods::set_converged |
( |
const bool | value | ) |
|
|
inline |
◆ set_update_iter()
| void Ions_Move_Methods::set_update_iter |
( |
const int | value | ) |
|
|
inline |
◆ bfgs
◆ bfgs_trad
◆ cg
◆ converged_
| bool Ions_Move_Methods::converged_ = false |
|
private |
◆ etot_info_
| std::vector<double> Ions_Move_Methods::etot_info_ {0.0, 0.0} |
|
private |
◆ lbfgs
◆ sd
◆ update_iter_
| int Ions_Move_Methods::update_iter_ = 0 |
|
private |
The documentation for this class was generated from the following files: