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

#include <vl_pw.h>

Collaboration diagram for pseudopot_cell_vl:

Public Member Functions

 pseudopot_cell_vl ()
 ~pseudopot_cell_vl ()
void init_vloc (const UnitCell &ucell, const ModulePW::PW_Basis *rho_basis)
 init local potential
void print_vloc (const UnitCell &ucell, const ModulePW::PW_Basis *rho_basis, const bool &out_element_info, const std::string &global_out_dir) const
 print the local potential in G space to v_loc_g.dat for each element

Public Attributes

ModuleBase::matrix vloc
bool * numeric = nullptr

Private Member Functions

void allocate (const UnitCell &ucell, const int ngg)
void vloc_coulomb (const UnitCell &ucell, const double &zp, double *vloc_1d, const ModulePW::PW_Basis *rho_basis) const
 compute the coulomb potential in reciprocal space v(g) = -\frac{4pi}{V} * zp*e^2 / G^2
void vloc_of_g (const int &msh, const double *rab, const double *r, const double *vloc_at, const double &zp, double *vloc, const UnitCell &ucell, const ModulePW::PW_Basis *rho_basis) const

Private Attributes

std::vector< double > zp

Constructor & Destructor Documentation

◆ pseudopot_cell_vl()

pseudopot_cell_vl::pseudopot_cell_vl ( )

◆ ~pseudopot_cell_vl()

pseudopot_cell_vl::~pseudopot_cell_vl ( )

Member Function Documentation

◆ allocate()

void pseudopot_cell_vl::allocate ( const UnitCell & ucell,
const int ngg )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_vloc()

void pseudopot_cell_vl::init_vloc ( const UnitCell & ucell,
const ModulePW::PW_Basis * rho_basis )

init local potential

Parameters
rho_basispw basis
Returns
this->vloc
Here is the call graph for this function:
Here is the caller graph for this function:

◆ print_vloc()

void pseudopot_cell_vl::print_vloc ( const UnitCell & ucell,
const ModulePW::PW_Basis * rho_basis,
const bool & out_element_info,
const std::string & global_out_dir ) const

print the local potential in G space to v_loc_g.dat for each element

Parameters
ucellunitcell
rho_basispw basis
out_element_infowhether to print the local potential
global_out_dirglobal output directory
Here is the caller graph for this function:

◆ vloc_coulomb()

void pseudopot_cell_vl::vloc_coulomb ( const UnitCell & ucell,
const double & zp,
double * vloc_1d,
const ModulePW::PW_Basis * rho_basis ) const
private

compute the coulomb potential in reciprocal space v(g) = -\frac{4pi}{V} * zp*e^2 / G^2

Here is the caller graph for this function:

◆ vloc_of_g()

void pseudopot_cell_vl::vloc_of_g ( const int & msh,
const double * rab,
const double * r,
const double * vloc_at,
const double & zp,
double * vloc,
const UnitCell & ucell,
const ModulePW::PW_Basis * rho_basis ) const
private
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ numeric

bool* pseudopot_cell_vl::numeric = nullptr

◆ vloc

ModuleBase::matrix pseudopot_cell_vl::vloc

◆ zp

std::vector<double> pseudopot_cell_vl::zp
private

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