ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
relax_driver.h
Go to the documentation of this file.
1#ifndef RELAX_DRIVER_H
2#define RELAX_DRIVER_H
3
7#include "relax_sync.h"
8#include "relax_nsync.h"
9#include "bfgs.h"
11
13{
14
15 public:
18
19 void relax_driver(ModuleESolver::ESolver* p_esolver,
20 UnitCell& ucell,
21 const Input_para& inp);
22
23 private:
24 // mohan add 2021-01-28
25 // mohan moved this variable from electrons.h to relax_driver.h
26 int istep = 0;
27 double etot = 0;
28
29 // new relaxation method
31
32 // old relaxation method
34
36
37
38};
39
40#endif
Definition bfgs.h:14
Definition esolver.h:11
Definition relax_driver.h:13
Relax rl
Definition relax_driver.h:30
BFGS bfgs_trad
Definition relax_driver.h:35
double etot
Definition relax_driver.h:27
void relax_driver(ModuleESolver::ESolver *p_esolver, UnitCell &ucell, const Input_para &inp)
Definition relax_driver.cpp:13
Relax_Driver()
Definition relax_driver.h:16
int istep
Definition relax_driver.h:26
Relax_old rl_old
Definition relax_driver.h:33
~Relax_Driver()
Definition relax_driver.h:17
Definition relax_nsync.h:11
Definition relax_sync.h:12
Definition unitcell.h:16
Definition input_parameter.h:12