ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
elecstate::PotEfield Class Reference

#include <efield.h>

Inheritance diagram for elecstate::PotEfield:
Collaboration diagram for elecstate::PotEfield:

Public Member Functions

 PotEfield (const ModulePW::PW_Basis *rho_basis_in, const UnitCell *ucell_in, const surchem *solvent_in, bool dipole)
void cal_fixed_v (double *vl_pseudo) override
void cal_v_eff (const Charge *chg, const UnitCell *ucell, ModuleBase::matrix &v_eff) override
Public Member Functions inherited from elecstate::PotBase
 PotBase ()
virtual ~PotBase ()
virtual double get_energy () const
virtual void sol_energy (double &electrostatic, double &non_electrostatic) const
virtual void add_sol_force (const UnitCell &, ModuleBase::matrix &) const
virtual const std::vector< double > * sol_elec_pot () const
virtual void add_sol_fields (std::vector< SolventGridField > &) const

Private Attributes

const UnitCell * ucell_ = nullptr
const surchem * solvent_ = nullptr

Additional Inherited Members

Public Attributes inherited from elecstate::PotBase
bool fixed_mode = 0
bool dynamic_mode = 0
Protected Attributes inherited from elecstate::PotBase
const ModulePW::PW_Basis * rho_basis_ = nullptr
const ModulePW::PW_Basis * rho_basis_smooth_ = nullptr

Constructor & Destructor Documentation

◆ PotEfield()

elecstate::PotEfield::PotEfield ( const ModulePW::PW_Basis * rho_basis_in,
const UnitCell * ucell_in,
const surchem * solvent_in,
bool dipole )
inline

Member Function Documentation

◆ cal_fixed_v()

void elecstate::PotEfield::cal_fixed_v ( double * vl_pseudo)
inlineoverridevirtual

Reimplemented from elecstate::PotBase.

Here is the call graph for this function:

◆ cal_v_eff()

void elecstate::PotEfield::cal_v_eff ( const Charge * chg,
const UnitCell * ucell,
ModuleBase::matrix & v_eff )
inlineoverridevirtual

Reimplemented from elecstate::PotBase.

Here is the call graph for this function:

Member Data Documentation

◆ solvent_

const surchem* elecstate::PotEfield::solvent_ = nullptr
private

◆ ucell_

const UnitCell* elecstate::PotEfield::ucell_ = nullptr
private

The documentation for this class was generated from the following file: