35 const ModulePW::PW_Basis& rhopw,
36 const MixingConfig& cfg,
52 const ModulePW::PW_Basis& rhopw,
53 const MixingConfig& cfg,
67 const ModulePW::PW_Basis& rhopw,
68 const MixingConfig& cfg);
82 const std::complex<double>* rhog2,
83 const ModulePW::PW_Basis& rhopw,
84 const MixingConfig& cfg,
A class which can convert a function of "r" to the corresponding linear superposition of plane waves ...
Definition pw_basis.h:60
Charge-density symmetrization free functions.
Definition charge.h:18
double inner_product_real(const double *rho1, const double *rho2, const ModulePW::PW_Basis &rhopw, const MixingConfig &cfg)
Inner product of two real-space vectors used in real-space mixing.
Definition chg_drho.cpp:132
double cal_dkin(Charge *chr, const double nelec, const ModulePW::PW_Basis &rhopw, const MixingConfig &cfg, const double omega)
Kinetic-energy-density residual between chr->kin_r and chr->kin_r_save.
Definition chg_drho.cpp:89
double inner_product_recip_hartree(const std::complex< double > *rhog1, const std::complex< double > *rhog2, const ModulePW::PW_Basis &rhopw, const MixingConfig &cfg, const double omega, const double tpiba)
Hartree-like reciprocal inner product used in charge mixing.
Definition chg_drho_inner.cpp:388
double cal_drho(Charge *chr, const double nelec, const ModulePW::PW_Basis &rhopw, const MixingConfig &cfg, const double omega, const double tpiba)
Charge residual between chr->rho and chr->rho_save, normalized per electron.
Definition chg_drho.cpp:14