#include "relax_data.h"
#include "source_base/matrix.h"
#include "source_cell/unitcell.h"
#include <fstream>
#include <vector>
Go to the source code of this file.
|
| void | Lattice_Change_Basic::setup_gradient (const UnitCell &ucell, double *lat, double *grad, ModuleBase::matrix &stress) |
| | Setup gradient from stress tensor.
|
| void | Lattice_Change_Basic::change_lattice (UnitCell &ucell, double *move, double *lat, const bool fixed_ibrav) |
| | Update lattice vectors according to displacement.
|
| bool | Lattice_Change_Basic::check_converged (const UnitCell &ucell, ModuleBase::matrix &stress, double *grad, std::ofstream &ofs, const double &stress_thr) |
| | Check convergence based on stress threshold.
|
| void | Lattice_Change_Basic::terminate (const bool converged, std::ofstream &ofs) |
| | Terminate lattice optimization and output results.
|
| void | Lattice_Change_Basic::setup_etot (const double &energy_in, std::vector< double > &etot_info) |
| | Update energy values and compute energy difference.
|