ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
chg_drho_detail.h
Go to the documentation of this file.
1#ifndef CHG_DRHO_DETAIL_H
2#define CHG_DRHO_DETAIL_H
3
4// Internal reciprocal inner product for the charge residual (cal_drho).
5// Not part of the public module_charge API: only chg_drho.cpp and the
6// charge mixing unit test are expected to include this header.
7
8#include <complex>
9
10#include "chg_mix_cfg.h"
11
12namespace ModulePW
13{
14class PW_Basis;
15}
16
17namespace module_charge
18{
19namespace detail
20{
21
33double inner_product_recip_rho(const std::complex<double>* rho1,
34 const std::complex<double>* rho2,
35 const ModulePW::PW_Basis& rhopw,
36 const MixingConfig& cfg,
37 const double omega,
38 const double tpiba);
39
40} // namespace detail
41} // namespace module_charge
42
43#endif // CHG_DRHO_DETAIL_H
A class which can convert a function of "r" to the corresponding linear superposition of plane waves ...
Definition pw_basis.h:60
Definition pw_op.cpp:3
Definition chg_atomic_detail.h:19
double inner_product_recip_rho(const std::complex< double > *rho1, const std::complex< double > *rho2, const ModulePW::PW_Basis &rhopw, const MixingConfig &cfg, const double omega, const double tpiba)
Coulomb-metric reciprocal inner product of the charge residual.
Definition chg_drho_inner.cpp:331
Charge-density symmetrization free functions.
Definition charge.h:18