ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
pot_xc_fdm.h
Go to the documentation of this file.
1//=======================
2// AUTHOR : Peize Lin
3// DATE : 2025-10-01
4//=======================
5
6#ifndef POTXC_FDM_H
7#define POTXC_FDM_H
8
9#include "pot_base.h"
10
11namespace elecstate
12{
13
14class PotXC_FDM : public PotBase
15{
16public:
17
19 const int nspin,
20 const bool domag,
21 const bool domag_z,
22 const int gga_grad,
23 const bool out_elf,
24 const int test_charge,
25 const ModulePW::PW_Basis* rho_basis_in,
26 const Charge*const chg_0_in,
27 const UnitCell*const ucell);
28
29 void cal_v_eff(
30 const Charge*const chg_1,
31 const UnitCell*const ucell,
32 ModuleBase::matrix& v_eff) override;
33
34 const Charge*const chg_0 = nullptr;
36private:
37 const int nspin_;
38 const bool domag_;
39 const bool domag_z_;
40 const int gga_grad_;
41 const bool out_elf_;
42 const int test_charge_;
43};
44
45} // namespace elecstate
46
47#endif
Definition charge.h:24
Definition matrix.h:15
A class which can convert a function of "r" to the corresponding linear superposition of plane waves ...
Definition pw_basis.h:60
Provide the basic information about unitcell.
Definition unitcell.h:16
PotBase()
Definition pot_base.h:26
void cal_v_eff(const Charge *const chg_1, const UnitCell *const ucell, ModuleBase::matrix &v_eff) override
Definition pot_xc_fdm.cpp:45
PotXC_FDM(const int nspin, const bool domag, const bool domag_z, const int gga_grad, const bool out_elf, const int test_charge, const ModulePW::PW_Basis *rho_basis_in, const Charge *const chg_0_in, const UnitCell *const ucell)
Definition pot_xc_fdm.cpp:12
const int nspin_
Definition pot_xc_fdm.h:37
const Charge *const chg_0
Definition pot_xc_fdm.h:34
const bool domag_
Definition pot_xc_fdm.h:38
ModuleBase::matrix v_xc_0
Definition pot_xc_fdm.h:35
const int test_charge_
Definition pot_xc_fdm.h:42
const bool domag_z_
Definition pot_xc_fdm.h:39
const int gga_grad_
Definition pot_xc_fdm.h:40
const bool out_elf_
Definition pot_xc_fdm.h:41
Definition read_atoms_hlp_test.cpp:13