|
| void | Ions_Move_Basic::setup_gradient (const UnitCell &ucell, const ModuleBase::matrix &force, double *pos, double *grad, std::ofstream &ofs) |
| | Setup gradient from atomic forces.
|
| void | Ions_Move_Basic::move_atoms (UnitCell &ucell, double *move, double *pos, std::ofstream &ofs, const int test_relax_method) |
| | Move atoms according to displacement vector.
|
| bool | Ions_Move_Basic::check_converged (const UnitCell &ucell, const double *grad, int &update_iter, std::ofstream &ofs, std::vector< double > &etot_info, const double &force_thr, const double &force_thr_ev, const std::string &out_level, const int test_relax_method) |
| | Check convergence based on gradient threshold.
|
| void | Ions_Move_Basic::terminate (const bool converged, const int update_iter, const UnitCell &ucell, const int istep, std::ofstream &ofs) |
| | Terminate geometry optimization and output results.
|
| void | Ions_Move_Basic::setup_etot (const double &energy_in, const int istep, std::vector< double > &etot_info) |
| | Update energy values and compute energy difference.
|
| double | Ions_Move_Basic::dot_func (const double *a, const double *b, const int &dim_in) |
| | Compute dot product of two vectors.
|
| void | Ions_Move_Basic::third_order () |
| | Third-order polynomial interpolation for line search.
|