ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
pot_base.h
Go to the documentation of this file.
1#ifndef POTBASE_H
2#define POTBASE_H
3
9
10namespace elecstate
11{
22{
23 public:
25 virtual ~PotBase(){}
26
27 virtual void cal_v_eff(const Charge*const chg, const UnitCell*const ucell, ModuleBase::matrix& v_eff){}
28
29 virtual void cal_fixed_v(double* vl_pseudo){}
30
31 virtual double get_energy() const { return 0.0; }
32
33 bool fixed_mode = 0;
34 bool dynamic_mode = 0;
35
36 protected:
39};
40
41} // namespace elecstate
42
43#endif
Definition charge.h:17
Definition matrix.h:18
A class which can convert a function of "r" to the corresponding linear superposition of plane waves ...
Definition pw_basis.h:56
Definition unitcell.h:15
Definition pot_base.h:22
virtual void cal_fixed_v(double *vl_pseudo)
Definition pot_base.h:29
virtual ~PotBase()
Definition pot_base.h:25
const ModulePW::PW_Basis * rho_basis_
Definition pot_base.h:37
const ModulePW::PW_Basis * rho_basis_smooth_
Definition pot_base.h:38
virtual double get_energy() const
Definition pot_base.h:31
bool dynamic_mode
Definition pot_base.h:34
bool fixed_mode
Definition pot_base.h:33
virtual void cal_v_eff(const Charge *const chg, const UnitCell *const ucell, ModuleBase::matrix &v_eff)
Definition pot_base.h:27
PotBase()
Definition pot_base.h:24
Definition read_atoms_helper_test.cpp:11