ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
driver.h
Go to the documentation of this file.
1#ifndef DRIVER_H
2#define DRIVER_H
3
4
5class Driver
6{
7 public:
8 Driver();
9 ~Driver();
10
15 void init();
16
17 private:
22 void print_start_info();
28 void reading();
29
35 void atomic_world();
36
37 // the actual calculations
38 void driver_run();
39
40 // Init harewares according to Input parameters
41 void init_hardware();
42 void finalize_hardware();
43};
44
45#endif
Definition driver.h:6
void reading()
Reading the parameters and split the MPI world. This function read the parameter in "INPUT",...
Definition driver.cpp:114
void finalize_hardware()
Definition driver_run.cpp:139
void init()
An interface function. This function calls "this->reading()", "this->atomic_world()" in order.
Definition driver.cpp:28
void print_start_info()
Print the start information.
Definition driver.cpp:55
void init_hardware()
Definition driver_run.cpp:114
~Driver()
Definition driver.cpp:24
void atomic_world()
An interface function. This function calls "this->driver_run()" to do calculation,...
Definition driver.cpp:189
Driver()
Definition driver.cpp:20
void driver_run()
This is the driver function which defines the workflow of ABACUS calculations. It relies on the class...
Definition driver_run.cpp:37