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

#include <pot_xc.h>

Inheritance diagram for elecstate::PotXC:
Collaboration diagram for elecstate::PotXC:

Public Member Functions

 PotXC (const bool domag, const bool domag_z, const int gga_grad, const bool xc_gpu, const ModulePW::PW_Basis *rho_basis_in, double *etxc_in, double *vtxc_in, ModuleBase::matrix *vofk_in=nullptr)
void cal_v_eff (const Charge *const chg, const UnitCell *const ucell, ModuleBase::matrix &v_eff) override
Public Member Functions inherited from elecstate::PotBase
 PotBase ()
virtual ~PotBase ()
virtual void cal_fixed_v (double *vl_pseudo)
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

Public Attributes

ModuleBase::matrix * vofk = nullptr
double * etxc_ = nullptr
double * vtxc_ = nullptr
Public Attributes inherited from elecstate::PotBase
bool fixed_mode = 0
bool dynamic_mode = 0

Private Attributes

const bool domag_
const bool domag_z_
const int gga_grad_
const bool xc_gpu_

Additional Inherited Members

Protected Attributes inherited from elecstate::PotBase
const ModulePW::PW_Basis * rho_basis_ = nullptr
const ModulePW::PW_Basis * rho_basis_smooth_ = nullptr

Constructor & Destructor Documentation

◆ PotXC()

elecstate::PotXC::PotXC ( const bool domag,
const bool domag_z,
const int gga_grad,
const bool xc_gpu,
const ModulePW::PW_Basis * rho_basis_in,
double * etxc_in,
double * vtxc_in,
ModuleBase::matrix * vofk_in = nullptr )
inline

Member Function Documentation

◆ cal_v_eff()

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

Reimplemented from elecstate::PotBase.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ domag_

const bool elecstate::PotXC::domag_
private

◆ domag_z_

const bool elecstate::PotXC::domag_z_
private

◆ etxc_

double* elecstate::PotXC::etxc_ = nullptr

◆ gga_grad_

const int elecstate::PotXC::gga_grad_
private

◆ vofk

ModuleBase::matrix* elecstate::PotXC::vofk = nullptr

◆ vtxc_

double* elecstate::PotXC::vtxc_ = nullptr

◆ xc_gpu_

const bool elecstate::PotXC::xc_gpu_
private

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