ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
ions_move_bfgs.h
Go to the documentation of this file.
1#ifndef IONS_MOVE_BFGS_H
2#define IONS_MOVE_BFGS_H
3
4#include "bfgs_basic.h"
8{
9 public:
12
13 void allocate(void);
14 void start(UnitCell& ucell, const ModuleBase::matrix& force, const double& energy_in);
15
16 private:
18 void bfgs_routine(const double& lat0);
19 void restart_bfgs(const double& lat0);
20 bool first_step=true; // If it is the first step of the relaxation. The pos is only generated from ucell in the first step, and in the following steps, the pos is generated from the previous step.
21};
22
23#endif
Definition bfgs_basic.h:17
Definition ions_move_bfgs.h:8
void bfgs_routine(const double &lat0)
Definition ions_move_bfgs.cpp:170
Ions_Move_BFGS()
Definition ions_move_bfgs.cpp:15
bool init_done
Definition ions_move_bfgs.h:17
void restart_bfgs(const double &lat0)
Definition ions_move_bfgs.cpp:94
void allocate(void)
Definition ions_move_bfgs.cpp:23
~Ions_Move_BFGS()
Definition ions_move_bfgs.cpp:21
bool first_step
Definition ions_move_bfgs.h:20
Definition matrix.h:19
Definition unitcell.h:16
iclock::time_point start
Definition test_partition.cpp:22