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

Go to the source code of this file.

Classes

struct  module_charge::NlcCtx
 Radial grid and density data for non-linear core correction. More...

Namespaces

namespace  ModuleBase
namespace  ModulePW
namespace  module_charge
 Charge-density symmetrization free functions.

Functions

void module_charge::set_rho_core (const UnitCell &ucell, const ModuleBase::ComplexMatrix &structure_factor, const bool *numeric, double *rho_core, std::complex< double > *rhog_core, const ModulePW::PW_Basis &rhopw)
void module_charge::set_drho_core (const UnitCell &ucell, int iat, int dir, const ModuleBase::Vector3< double > &q_cart, const ModulePW::PW_Basis &rhopw, std::vector< std::complex< double > > &drhoc_g)
double module_charge::core_charge_form_factor (int mesh, const double *r, const double *rab, const double *rho_atc, double omega, double k, std::vector< double > &scratch)
double module_charge::sum_rho (double *const *rho, const int nspin0, const int nrxx, const double omega, const int nxyz)
double module_charge::cal_rho2ne (const double *rho_in, const int nrxx, const double omega, const int nxyz)
void module_charge::check_rho (double *const *rho, const int nspin, const int nrxx, const double omega, const int nxyz, const double nelec)
void module_charge::non_linear_core_correction (const NlcCtx &ctx, double *rhocg)