ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Lattice_Change_Methods Class Reference

#include <lat_change_method.h>

Collaboration diagram for Lattice_Change_Methods:

Public Member Functions

 Lattice_Change_Methods ()
 ~Lattice_Change_Methods ()
void allocate (void)
void cal_lattice_change (const int &istep, const int &stress_step, const ModuleBase::matrix &stress, const double &etot, UnitCell &ucell, std::ofstream &ofs, const Relax_Criteria &criteria)
bool get_converged (void) const
double get_ediff (void) const
double get_largest_grad (void) const

Private Attributes

Lattice_Change_CG lccg
bool converged_ = false
std::vector< double > etot_info_ {0.0, 0.0}

Constructor & Destructor Documentation

◆ Lattice_Change_Methods()

Lattice_Change_Methods::Lattice_Change_Methods ( )

◆ ~Lattice_Change_Methods()

Lattice_Change_Methods::~Lattice_Change_Methods ( )

Member Function Documentation

◆ allocate()

void Lattice_Change_Methods::allocate ( void )

◆ cal_lattice_change()

void Lattice_Change_Methods::cal_lattice_change ( const int & istep,
const int & stress_step,
const ModuleBase::matrix & stress,
const double & etot,
UnitCell & ucell,
std::ofstream & ofs,
const Relax_Criteria & criteria )
Here is the call graph for this function:

◆ get_converged()

bool Lattice_Change_Methods::get_converged ( void ) const
inline

◆ get_ediff()

double Lattice_Change_Methods::get_ediff ( void ) const
inline

◆ get_largest_grad()

double Lattice_Change_Methods::get_largest_grad ( void ) const
inline

Member Data Documentation

◆ converged_

bool Lattice_Change_Methods::converged_ = false
private

◆ etot_info_

std::vector<double> Lattice_Change_Methods::etot_info_ {0.0, 0.0}
private

◆ lccg

Lattice_Change_CG Lattice_Change_Methods::lccg
private

The documentation for this class was generated from the following files: