#include <relax_sync.h>
|
| bool | setup_gradient (const UnitCell &ucell, const ModuleBase::matrix &force, const ModuleBase::matrix &stress, std::ofstream &ofs_running) |
| double | setup_ion_gradient (const UnitCell &ucell, const ModuleBase::matrix &force, bool &force_converged, std::ofstream &ofs_running) |
| void | setup_cell_gradient (const UnitCell &ucell, const ModuleBase::matrix &stress, bool &force_converged, std::ofstream &ofs_running) |
| void | print_gradient_summary (bool force_converged, std::ofstream &ofs_running) |
| bool | check_line_search () |
| void | perform_line_search (std::ofstream &ofs_running) |
| void | new_direction (std::ofstream &ofs_running) |
| void | move_cell_ions (UnitCell &ucell, const bool is_new_dir, std::ofstream &ofs_running) |
| void | update_lattice (UnitCell &ucell, double fac, bool is_new_dir) |
| void | update_ion_positions (UnitCell &ucell, double fac, std::ofstream &ofs_running) |
| void | update_reciprocal_cell (UnitCell &ucell, std::ofstream &ofs_running) |
| void | calculate_gamma () |
◆ Relax()
◆ ~Relax()
◆ calculate_gamma()
| void Relax::calculate_gamma |
( |
| ) |
|
|
private |
◆ check_line_search()
| bool Relax::check_line_search |
( |
| ) |
|
|
private |
◆ get_max_force_history()
| const std::vector< double > & Relax::get_max_force_history |
( |
| ) |
const |
|
inline |
Read-only observers of the per-step convergence history, for the final summary.
◆ get_max_stress_history()
| const std::vector< double > & Relax::get_max_stress_history |
( |
| ) |
const |
|
inline |
◆ init_relax()
| void Relax::init_relax |
( |
const int | nat_in, |
|
|
const Input_para & | inp ) |
◆ move_cell_ions()
| void Relax::move_cell_ions |
( |
UnitCell & | ucell, |
|
|
const bool | is_new_dir, |
|
|
std::ofstream & | ofs_running ) |
|
private |
◆ new_direction()
| void Relax::new_direction |
( |
std::ofstream & | ofs_running | ) |
|
|
private |
◆ perform_line_search()
| void Relax::perform_line_search |
( |
std::ofstream & | ofs_running | ) |
|
|
private |
◆ print_gradient_summary()
| void Relax::print_gradient_summary |
( |
bool | force_converged, |
|
|
std::ofstream & | ofs_running ) |
|
private |
◆ relax_step()
◆ setup_cell_gradient()
| void Relax::setup_cell_gradient |
( |
const UnitCell & | ucell, |
|
|
const ModuleBase::matrix & | stress, |
|
|
bool & | force_converged, |
|
|
std::ofstream & | ofs_running ) |
|
private |
◆ setup_gradient()
◆ setup_ion_gradient()
| double Relax::setup_ion_gradient |
( |
const UnitCell & | ucell, |
|
|
const ModuleBase::matrix & | force, |
|
|
bool & | force_converged, |
|
|
std::ofstream & | ofs_running ) |
|
private |
◆ update_ion_positions()
| void Relax::update_ion_positions |
( |
UnitCell & | ucell, |
|
|
double | fac, |
|
|
std::ofstream & | ofs_running ) |
|
private |
◆ update_lattice()
| void Relax::update_lattice |
( |
UnitCell & | ucell, |
|
|
double | fac, |
|
|
bool | is_new_dir ) |
|
private |
◆ update_reciprocal_cell()
| void Relax::update_reciprocal_cell |
( |
UnitCell & | ucell, |
|
|
std::ofstream & | ofs_running ) |
|
private |
◆ brent_done
| bool Relax::brent_done = false |
|
private |
◆ cg_step
◆ dmove
| double Relax::dmove = 0.0 |
|
private |
◆ dmoveh
| double Relax::dmoveh = 0.0 |
|
private |
◆ dmovel
| double Relax::dmovel = 0.0 |
|
private |
◆ e1ord1
| double Relax::e1ord1 = 0.0 |
|
private |
◆ e1ord2
| double Relax::e1ord2 = 0.0 |
|
private |
◆ e2ord
| double Relax::e2ord = 0.0 |
|
private |
◆ e2ord2
| double Relax::e2ord2 = 0.0 |
|
private |
◆ etot
◆ etot_p
| double Relax::etot_p = 0.0 |
|
private |
◆ fac_force
| double Relax::fac_force = 0.0 |
|
private |
◆ fac_stress
| double Relax::fac_stress = 0.0 |
|
private |
◆ force_thr_eva
| double Relax::force_thr_eva = 0.0 |
|
private |
◆ gamma
| double Relax::gamma = 0.0 |
|
private |
◆ gr_gr
| double Relax::gr_gr = 0.0 |
|
private |
◆ gr_grp
| double Relax::gr_grp = 0.0 |
|
private |
◆ gr_sr
| double Relax::gr_sr = 0.0 |
|
private |
◆ grad_cell
◆ grad_cell_p
◆ grad_ion
◆ grad_ion_p
◆ grp_grp
| double Relax::grp_grp = 0.0 |
|
private |
◆ if_cell_moves
| bool Relax::if_cell_moves = false |
|
private |
◆ inp_
◆ istep
◆ latvec_save
◆ ls
◆ ltrial
| bool Relax::ltrial = false |
|
private |
◆ max_force_history_
| std::vector<double> Relax::max_force_history_ |
|
private |
Largest force of each step (eV/Angstrom), includes trial and line-search steps.
◆ max_stress_history_
| std::vector<double> Relax::max_stress_history_ |
|
private |
Largest stress of each step (kbar), only filled in cell-relax.
◆ nat
◆ omega_p
| double Relax::omega_p = 0.0 |
|
private |
previous cell volume in Angstrom^3, used to print volume diff during cell-relax
◆ search_dr_cell
◆ search_dr_cell_p
◆ search_dr_ion
◆ search_dr_ion_p
◆ sr_sr
| double Relax::sr_sr = 0.0 |
|
private |
◆ srp_srp
| double Relax::srp_srp = 0.0 |
|
private |
◆ step_size
| double Relax::step_size = 0.0 |
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/abacus-develop/abacus-develop/source/source_relax/relax_sync.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_relax/relax_sync.cpp