41 const double*
const* prho,
42 const double*
const* pphi,
50 const double*
const* prho,
51 const double*
const* pphi,
58 const double*
const* prho,
59 const double*
const* pphi,
65 std::vector<std::string> &titles,
66 std::vector<double> &energies_Ry
70 const double *
const *prho,
A class which calculates the kinetic energy, potential, and stress with extended Wang-Teter (ext-WT) ...
Definition kedf_extwt.h:17
A class which calculates the kinetic energy, potential, and stress with Luo-Karasiev-Trickey (LKT) KE...
Definition kedf_lkt.h:17
Definition kedf_manager.h:16
KEDF_LKT * lkt_
Definition kedf_manager.h:77
void get_energy_density(const double *const *prho, const double *const *pphi, ModulePW::PW_Basis *pw_rho, double **rtau)
[Interface to kedf] Calculated the kinetic energy density, ONLY SPIN=1 SUPPORTED
Definition kedf_manager.cpp:260
void get_stress(const double omega, const double *const *prho, const double *const *pphi, ModulePW::PW_Basis *pw_rho, ModuleBase::matrix &kinetic_stress_)
[Interface to kedf] Calculate the stress of kedf
Definition kedf_manager.cpp:311
void generate_ml_target(const double *const *prho, ModulePW::PW_Basis *pw_rho, const double *veff)
Definition kedf_manager.cpp:419
~KEDF_Manager()
Definition kedf_manager.h:20
KEDF_TF * tf_
Definition kedf_manager.h:78
void record_energy(std::vector< std::string > &titles, std::vector< double > &energies_Ry)
Definition kedf_manager.cpp:371
KEDF_XWM * xwm_
Definition kedf_manager.h:82
double get_energy() const
[Interface to kedf] Return the kinetic energy
Definition kedf_manager.cpp:200
KEDF_vW * vw_
Definition kedf_manager.h:79
KEDF_ExtWT * extwt_
Definition kedf_manager.h:81
void init(const Input_para &inp, ModulePW::PW_Basis *pw_rho, const double dV, const double nelec)
[Interface to kedf] Initialize the KEDFs.
Definition kedf_manager.cpp:14
KEDF_WT * wt_
Definition kedf_manager.h:80
KEDF_Manager()
Definition kedf_manager.h:18
void get_potential(const double *const *prho, const double *const *pphi, ModulePW::PW_Basis *pw_rho, ModuleBase::matrix &rpot)
[Interface to kedf] Calculated the kinetic potential and plus it to rpot,
Definition kedf_manager.cpp:131
std::string of_kinetic_
Definition kedf_manager.h:87
KEDF_ML * ml_
Definition kedf_manager.h:84
A class which calculates the kinetic energy, potential, and stress with Thomas-Fermi (TF) KEDF....
Definition kedf_tf.h:17
A class which calculates the kinetic energy, potential, and stress with Wang-Teter (WT) KEDF....
Definition kedf_wt.h:17
A class which calculates the kinetic energy, potential, and stress with Xie-Wang-Morales (XWM) KEDF....
Definition kedf_xwm.h:14
A class which calculates the kinetic energy, potential, and stress with von Weizsäcker (vW) KEDF....
Definition kedf_vw.h:17
A class which can convert a function of "r" to the corresponding linear superposition of plane waves ...
Definition pw_basis.h:56