ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
chg_drho.h File Reference
#include <complex>
#include "chg_mix_cfg.h"
Include dependency graph for chg_drho.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ModulePW
namespace  module_charge
 Charge-density symmetrization free functions.

Functions

double module_charge::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.
double module_charge::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.
double module_charge::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.
double module_charge::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.