#include <bfgs.h>
|
std::vector< double > | steplength |
|
std::vector< std::vector< double > > | H |
|
std::vector< double > | force0 |
|
std::vector< std::vector< double > > | force |
|
std::vector< double > | pos0 |
|
std::vector< std::vector< double > > | pos |
|
std::vector< double > | pos_taud0 |
|
std::vector< std::vector< double > > | pos_taud |
|
std::vector< std::vector< double > > | dpos |
|
◆ allocate()
void BFGS::allocate |
( |
const int |
_size | ) |
|
initialize H0、H、pos0、force0、force
◆ CalculateLargestGrad()
◆ DetermineStep()
void BFGS::DetermineStep |
( |
std::vector< double > & |
steplength, |
|
|
std::vector< std::vector< double > > & |
dpos, |
|
|
double & |
maxstep |
|
) |
| |
|
private |
◆ GetPos()
void BFGS::GetPos |
( |
UnitCell & |
ucell, |
|
|
std::vector< std::vector< double > > & |
pos |
|
) |
| |
|
private |
◆ GetPostaud()
void BFGS::GetPostaud |
( |
UnitCell & |
ucell, |
|
|
std::vector< std::vector< double > > & |
pos_taud |
|
) |
| |
|
private |
◆ IsRestrain()
void BFGS::IsRestrain |
( |
std::vector< std::vector< double > > & |
dpos | ) |
|
|
private |
◆ PrepareStep()
void BFGS::PrepareStep |
( |
std::vector< std::vector< double > > & |
force, |
|
|
std::vector< std::vector< double > > & |
pos, |
|
|
std::vector< std::vector< double > > & |
H, |
|
|
std::vector< double > & |
pos0, |
|
|
std::vector< double > & |
force0, |
|
|
std::vector< double > & |
steplength, |
|
|
std::vector< std::vector< double > > & |
dpos, |
|
|
UnitCell & |
ucell |
|
) |
| |
◆ relax_step()
◆ Update()
void BFGS::Update |
( |
std::vector< double > & |
pos, |
|
|
std::vector< double > & |
force, |
|
|
std::vector< std::vector< double > > & |
H, |
|
|
UnitCell & |
ucell |
|
) |
| |
|
private |
◆ UpdatePos()
void BFGS::UpdatePos |
( |
UnitCell & |
ucell | ) |
|
|
private |
◆ alpha
◆ dpos
std::vector<std::vector<double> > BFGS::dpos |
◆ force
std::vector<std::vector<double> > BFGS::force |
◆ force0
std::vector<double> BFGS::force0 |
std::vector<std::vector<double> > BFGS::H |
◆ maxstep
◆ pos
std::vector<std::vector<double> > BFGS::pos |
◆ pos0
std::vector<double> BFGS::pos0 |
◆ pos_taud
std::vector<std::vector<double> > BFGS::pos_taud |
◆ pos_taud0
std::vector<double> BFGS::pos_taud0 |
◆ sign
◆ size
◆ steplength
std::vector<double> BFGS::steplength |
The documentation for this class was generated from the following files:
- /home/runner/work/abacus-develop/abacus-develop/source/source_relax/bfgs.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_relax/bfgs.cpp