65 VSep* vsep_cell_in =
nullptr);
71 void pot_register(
const std::vector<std::string>& components_list);
93 return &(this->
v_eff(is, 0));
104 return &(this->
v_eff(is, 0));
160 template <
typename FPTYPE>
163 template <
typename FPTYPE>
int nc
Definition matrix.h:23
A class which can convert a function of "r" to the corresponding linear superposition of plane waves ...
Definition pw_basis.h:56
Definition structure_factor.h:10
const ModulePW::PW_Basis * rho_basis_
Definition pot_base.h:37
Definition potential_new.h:48
ModuleBase::matrix veff_smooth
Definition potential_new.h:204
double vl_of_0
Definition potential_new.h:222
~Potential()
Definition potential_new.cpp:41
bool use_gpu_
Definition potential_new.h:231
bool fixed_done
Definition potential_new.h:216
void get_vnew(const Charge *chg, ModuleBase::matrix &vnew)
Definition potential_new.cpp:265
std::vector< PotBase * > components
Definition potential_new.h:224
const double * get_eff_vofk(int is) const
Definition potential_new.h:130
const double * get_eff_v(int is) const
Definition potential_new.h:100
const ModuleBase::matrix & get_eff_vofk() const
Definition potential_new.h:115
void allocate()
Definition potential_new.cpp:94
const ModuleBase::matrix & get_vofk_smooth() const
Definition potential_new.h:155
void init_pot(const Charge *const chg)
Definition potential_new.cpp:251
surchem * solvent_
Definition potential_new.h:229
ModuleBase::matrix & get_veff_smooth()
Definition potential_new.h:142
Structure_Factor * structure_factors_
Definition potential_new.h:228
ModuleBase::matrix & get_eff_vofk()
Definition potential_new.h:111
const ModuleBase::matrix * vloc_
Definition potential_new.h:227
Potential()
Definition potential_new.h:51
void pot_register(const std::vector< std::string > &components_list)
Definition potential_new.cpp:65
ModuleBase::matrix v_eff
Definition potential_new.h:202
ModuleBase::matrix vofk_eff
Definition potential_new.h:214
float * s_vofk_smooth
Definition potential_new.h:210
ModuleBase::matrix & get_vofk_smooth()
Definition potential_new.h:151
float * s_veff_smooth
Definition potential_new.h:209
const UnitCell * ucell_
Definition potential_new.h:226
ModuleBase::matrix vofk_smooth
Definition potential_new.h:205
PotBase * get_pot_type(const std::string &pot_type)
Definition potential_types.cpp:25
const double * get_fixed_v() const
Definition potential_new.h:170
void cal_v_eff(const Charge *const chg, const UnitCell *const ucell, ModuleBase::matrix &v_eff) override
Definition potential_new.cpp:218
FPTYPE * get_veff_smooth_data()
const ModuleBase::matrix & get_eff_v() const
Definition potential_new.h:84
ModuleBase::matrix v_xc
Definition potential_new.h:207
double get_ml_exx_energy() const
get the ML-EXX energy, avoiding static variable
Definition potential_new.cpp:346
double * get_eff_v(int is)
Definition potential_new.h:89
const ModuleBase::matrix & get_veff_smooth() const
Definition potential_new.h:146
double * etxc_
Definition potential_new.h:219
double * d_veff_smooth
Definition potential_new.h:211
void cal_fixed_v(double *vl_pseudo) override
Definition potential_new.cpp:201
double * get_eff_vofk(int is)
Definition potential_new.h:119
void update_from_charge(const Charge *const chg, const UnitCell *const ucell)
Definition potential_new.cpp:159
double * d_vofk_smooth
Definition potential_new.h:212
double get_vl_of_0() const
get the value of vloc at G=0;
Definition potential_new.h:184
void interpolate_vrs()
Definition potential_new.cpp:281
const ModulePW::PW_Basis * get_rho_basis() const
Definition potential_new.h:174
double * vtxc_
Definition potential_new.h:220
ModuleBase::matrix & get_eff_v()
Definition potential_new.h:80
FPTYPE * get_vofk_smooth_data()
std::vector< double > v_eff_fixed
Definition potential_new.h:201
double * get_fixed_v()
Definition potential_new.h:166
VSep * vsep_cell
Definition potential_new.h:230
Definition read_atoms_helper_test.cpp:11