ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
pseudopot_cell_vl Class Reference

#include <VL_in_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
 

Public Attributes

ModuleBase::matrix vloc
 
bool * numeric
 

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
 
void print_vloc (const UnitCell &ucell, const ModulePW::PW_Basis *rho_basis) const
 

Private Attributes

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
private
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

◆ vloc

ModuleBase::matrix pseudopot_cell_vl::vloc

◆ zp

double* pseudopot_cell_vl::zp
private

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