28 void set_para(
double dV,
double vw_weight);
40 void laplacian_phi(
const std::vector<std::vector<double>>& pphi,
41 std::vector<std::vector<double>>& rLapPhi,
KEDF_vW()
Definition kedf_vw.h:20
double vw_energy
Definition kedf_vw.h:36
double dV_
Definition kedf_vw.h:44
void set_para(double dV, double vw_weight)
Definition kedf_vw.cpp:8
double get_energy(double **pphi, ModulePW::PW_Basis *pw_rho)
Get the energy of vW KEDF.
Definition kedf_vw.cpp:22
~KEDF_vW()
Definition kedf_vw.h:24
void get_stress(const double *const *pphi, ModulePW::PW_Basis *pw_rho)
Get the stress of vW KEDF, and store it into this->stress.
Definition kedf_vw.cpp:235
double vw_weight_
Definition kedf_vw.h:45
void laplacian_phi(const std::vector< std::vector< double > > &pphi, std::vector< std::vector< double > > &rLapPhi, ModulePW::PW_Basis *pw_rho)
Get minus Laplacian phi.
Definition kedf_vw.cpp:300
void tau_vw(const double *const *pphi, ModulePW::PW_Basis *pw_rho, double *rtau_vw)
Get the positive definite energy density of vW KEDF.
Definition kedf_vw.cpp:115
void vw_potential(const double *const *pphi, ModulePW::PW_Basis *pw_rho, ModuleBase::matrix &rpotential)
Get the potential of vW KEDF, and add it into rpotential, and the vW energy will be calculated and st...
Definition kedf_vw.cpp:161
double get_energy_density(double **pphi, int is, int ir, ModulePW::PW_Basis *pw_rho)
Get the energy density of vW KEDF.
Definition kedf_vw.cpp:79
ModuleBase::matrix stress
Definition kedf_vw.h:37
A class which can convert a function of "r" to the corresponding linear superposition of plane waves ...
Definition pw_basis.h:60