#include <bfgs_basic.h>
◆ BFGS_Basic()
| BFGS_Basic::BFGS_Basic |
( |
| ) |
|
◆ ~BFGS_Basic()
| BFGS_Basic::~BFGS_Basic |
( |
| ) |
|
|
default |
◆ allocate_basic()
| void BFGS_Basic::allocate_basic |
( |
void | | ) |
|
|
protected |
◆ allocate_basic_for_testing()
| void BFGS_Basic::allocate_basic_for_testing |
( |
| ) |
|
|
inline |
◆ check_move()
| double BFGS_Basic::check_move |
( |
const double & | lat0, |
|
|
const double & | pos, |
|
|
const double & | pos_p ) |
|
protected |
◆ check_wolfe_conditions()
| void BFGS_Basic::check_wolfe_conditions |
( |
std::ofstream & | ofs, |
|
|
std::vector< double > & | etot_info ) |
|
private |
◆ check_wolfe_conditions_for_testing()
| void BFGS_Basic::check_wolfe_conditions_for_testing |
( |
std::ofstream & | ofs, |
|
|
std::vector< double > & | etot_info ) |
|
inline |
◆ compute_trust_radius()
| void BFGS_Basic::compute_trust_radius |
( |
std::ofstream & | ofs, |
|
|
std::vector< double > & | etot_info, |
|
|
const int | test_relax_method ) |
|
private |
◆ compute_trust_radius_for_testing()
| void BFGS_Basic::compute_trust_radius_for_testing |
( |
std::ofstream & | ofs, |
|
|
std::vector< double > & | etot_info, |
|
|
const int | test_relax_method ) |
|
inline |
◆ get_bfgs_ndim()
| int & BFGS_Basic::get_bfgs_ndim |
( |
| ) |
|
|
inline |
number of previous steps kept by the BFGS update
◆ get_grad()
| std::vector< double > & BFGS_Basic::get_grad |
( |
| ) |
|
|
inline |
◆ get_grad_p()
| std::vector< double > & BFGS_Basic::get_grad_p |
( |
| ) |
|
|
inline |
gradient of the previous step
◆ get_inv_hess()
the inverse Hessian of the BFGS update
◆ get_move()
| std::vector< double > & BFGS_Basic::get_move |
( |
| ) |
|
|
inline |
the step taken, pos = pos_p + move
◆ get_move_p()
| std::vector< double > & BFGS_Basic::get_move_p |
( |
| ) |
|
|
inline |
step taken at the previous step
◆ get_pos()
| std::vector< double > & BFGS_Basic::get_pos |
( |
| ) |
|
|
inline |
3N coordinates of the system ( x )
◆ get_pos_p()
| std::vector< double > & BFGS_Basic::get_pos_p |
( |
| ) |
|
|
inline |
coordinates of the previous step
◆ get_save_flag()
| bool & BFGS_Basic::get_save_flag |
( |
| ) |
|
|
inline |
whether a bfgs state has been saved
◆ get_tr_min_hit()
| bool & BFGS_Basic::get_tr_min_hit |
( |
| ) |
|
|
inline |
whether the trust radius already hit its minimum last step
◆ get_wolfe_flag()
| bool & BFGS_Basic::get_wolfe_flag |
( |
| ) |
|
|
inline |
whether the Wolfe conditions were satisfied
◆ new_step()
| void BFGS_Basic::new_step |
( |
const double & | lat0, |
|
|
int & | update_iter, |
|
|
std::ofstream & | ofs, |
|
|
std::vector< double > & | etot_info, |
|
|
const int | test_relax_method ) |
|
protected |
◆ new_step_for_testing()
| void BFGS_Basic::new_step_for_testing |
( |
const double & | lat0, |
|
|
int & | update_iter, |
|
|
std::ofstream & | ofs, |
|
|
std::vector< double > & | etot_info, |
|
|
const int | test_relax_method ) |
|
inline |
◆ reset_hessian()
| void BFGS_Basic::reset_hessian |
( |
void | | ) |
|
|
protected |
◆ reset_hessian_for_testing()
| void BFGS_Basic::reset_hessian_for_testing |
( |
| ) |
|
|
inline |
◆ save_bfgs()
| void BFGS_Basic::save_bfgs |
( |
void | | ) |
|
|
protected |
◆ save_bfgs_for_testing()
| void BFGS_Basic::save_bfgs_for_testing |
( |
| ) |
|
|
inline |
◆ update_inverse_hessian()
| void BFGS_Basic::update_inverse_hessian |
( |
const double & | lat0, |
|
|
std::ofstream & | ofs ) |
|
private |
◆ update_inverse_hessian_for_testing()
| void BFGS_Basic::update_inverse_hessian_for_testing |
( |
const double & | lat0, |
|
|
std::ofstream & | ofs ) |
|
inline |
◆ bfgs_ndim
| int BFGS_Basic::bfgs_ndim |
|
private |
◆ grad
| std::vector<double> BFGS_Basic::grad |
|
protected |
◆ grad_p
| std::vector<double> BFGS_Basic::grad_p |
|
protected |
◆ inv_hess
◆ move
| std::vector<double> BFGS_Basic::move |
|
protected |
◆ move_p
| std::vector<double> BFGS_Basic::move_p |
|
protected |
◆ pos
| std::vector<double> BFGS_Basic::pos |
|
protected |
◆ pos_p
| std::vector<double> BFGS_Basic::pos_p |
|
protected |
◆ relax_bfgs_w1
| double BFGS_Basic::relax_bfgs_w1 = -1.0 |
|
static |
◆ relax_bfgs_w2
| double BFGS_Basic::relax_bfgs_w2 = -1.0 |
|
static |
◆ save_flag
| bool BFGS_Basic::save_flag = false |
|
protected |
◆ tr_min_hit
| bool BFGS_Basic::tr_min_hit = false |
|
protected |
◆ wolfe_flag
| bool BFGS_Basic::wolfe_flag = false |
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/abacus-develop/abacus-develop/source/source_relax/bfgs_basic.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_relax/bfgs_basic.cpp