66 VSep* vsep_cell_in =
nullptr);
72 void pot_register(
const std::vector<std::string>& components_list);
94 return &(this->
v_eff(is, 0));
105 return &(this->
v_eff(is, 0));
161 template <
typename FPTYPE>
164 template <
typename FPTYPE>
int nc
Definition matrix.h:24
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:11
Definition VSep_in_pw.h:11
const ModulePW::PW_Basis * rho_basis_
Definition pot_base.h:35
Definition potential_new.h:49
ModuleBase::matrix veff_smooth
Definition potential_new.h:201
double vl_of_0
Definition potential_new.h:219
~Potential()
Definition potential_new.cpp:40
bool use_gpu_
Definition potential_new.h:228
bool fixed_done
Definition potential_new.h:213
void get_vnew(const Charge *chg, ModuleBase::matrix &vnew)
Definition potential_new.cpp:264
std::vector< PotBase * > components
Definition potential_new.h:221
const double * get_eff_vofk(int is) const
Definition potential_new.h:131
const double * get_eff_v(int is) const
Definition potential_new.h:101
const ModuleBase::matrix & get_eff_vofk() const
Definition potential_new.h:116
void allocate()
Definition potential_new.cpp:93
const ModuleBase::matrix & get_vofk_smooth() const
Definition potential_new.h:156
void init_pot(const Charge *const chg)
Definition potential_new.cpp:250
surchem * solvent_
Definition potential_new.h:226
ModuleBase::matrix & get_veff_smooth()
Definition potential_new.h:143
Structure_Factor * structure_factors_
Definition potential_new.h:225
ModuleBase::matrix & get_eff_vofk()
Definition potential_new.h:112
const ModuleBase::matrix * vloc_
Definition potential_new.h:224
Potential()
Definition potential_new.h:52
void pot_register(const std::vector< std::string > &components_list)
Definition potential_new.cpp:64
ModuleBase::matrix v_eff
Definition potential_new.h:199
ModuleBase::matrix vofk_eff
Definition potential_new.h:211
float * s_vofk_smooth
Definition potential_new.h:207
ModuleBase::matrix & get_vofk_smooth()
Definition potential_new.h:152
float * s_veff_smooth
Definition potential_new.h:206
const UnitCell * ucell_
Definition potential_new.h:223
ModuleBase::matrix vofk_smooth
Definition potential_new.h:202
PotBase * get_pot_type(const std::string &pot_type)
Definition potential_types.cpp:23
const double * get_fixed_v() const
Definition potential_new.h:171
void cal_v_eff(const Charge *const chg, const UnitCell *const ucell, ModuleBase::matrix &v_eff) override
Definition potential_new.cpp:217
FPTYPE * get_veff_smooth_data()
const ModuleBase::matrix & get_eff_v() const
Definition potential_new.h:85
ModuleBase::matrix v_xc
Definition potential_new.h:204
double * get_eff_v(int is)
Definition potential_new.h:90
const ModuleBase::matrix & get_veff_smooth() const
Definition potential_new.h:147
double * etxc_
Definition potential_new.h:216
double * d_veff_smooth
Definition potential_new.h:208
void cal_fixed_v(double *vl_pseudo) override
Definition potential_new.cpp:200
double * get_eff_vofk(int is)
Definition potential_new.h:120
void update_from_charge(const Charge *const chg, const UnitCell *const ucell)
Definition potential_new.cpp:158
double * d_vofk_smooth
Definition potential_new.h:209
double get_vl_of_0() const
get the value of vloc at G=0;
Definition potential_new.h:185
void interpolate_vrs()
Definition potential_new.cpp:280
const ModulePW::PW_Basis * get_rho_basis() const
Definition potential_new.h:175
double * vtxc_
Definition potential_new.h:217
ModuleBase::matrix & get_eff_v()
Definition potential_new.h:81
FPTYPE * get_vofk_smooth_data()
std::vector< double > v_eff_fixed
Definition potential_new.h:198
double * get_fixed_v()
Definition potential_new.h:167
VSep * vsep_cell
Definition potential_new.h:227