ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
relax_criteria.h
Go to the documentation of this file.
1#ifndef RELAX_CRITERIA_H
2#define RELAX_CRITERIA_H
3
4#include <string>
5
19{
20 // The defaults below deliberately mirror the corresponding Input_para
21 // defaults, so that a caller (or a test) which leaves a field alone gets
22 // exactly the behaviour it got when these values were read from PARAM.
23 double force_thr = -1;
24 double force_thr_ev = -1;
25 double stress_thr = 0.5;
26 bool fixed_ibrav = false;
27 std::string out_level = "ie";
29};
30
31#endif
INPUT-derived settings that the relaxation algorithms need.
Definition relax_criteria.h:19
double stress_thr
Stress convergence threshold, kbar.
Definition relax_criteria.h:25
double force_thr
Force convergence threshold, Ry/Bohr.
Definition relax_criteria.h:23
double force_thr_ev
The same threshold in eV/Angstrom, reconciled by ReadInput.
Definition relax_criteria.h:24
int test_relax_method
Debug verbosity for the relaxation algorithms.
Definition relax_criteria.h:28
std::string out_level
Output verbosity; "ie" prints per-step energy to stdout.
Definition relax_criteria.h:27
bool fixed_ibrav
Keep the Bravais lattice type fixed while relaxing the cell.
Definition relax_criteria.h:26