|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Manages the computation of the charge densities for different bands (band-decomposed charge densities). More...
#include <get_pchg_lcao.h>
Public Member Functions | |
| Get_pchg_lcao (const psi::Psi< double > &psi, const Parallel_Orbitals ¶_orb, int nspin) | |
| Get_pchg_lcao (const psi::Psi< std::complex< double > > &psi, const Parallel_Orbitals ¶_orb, int nspin) | |
| void | begin_gamma (const UnitCell &ucell, const Parallel_Grid &pgrid, const Grid_Driver &grid_driver, const std::vector< int > &out_pchg, const int istep, const std::string &global_out_dir, std::ofstream &ofs_running) |
| void | begin_k (const ModulePW::PW_Basis &rho_pw, UnitCell &ucell, const Parallel_Grid &pgrid, const Grid_Driver &grid_driver, const K_Vectors &kv, const std::vector< int > &out_pchg, bool if_separate_k, const int istep, const std::string &global_out_dir, std::ofstream &ofs_running) |
Private Member Functions | |
| void | prepare_get_pchg (std::ofstream &ofs_running) |
| std::vector< int > | select_bands (const std::vector< int > &out_pchg) const |
| Build the selected-band mask and reject invalid selectors. | |
Private Attributes | |
| const psi::Psi< double > *const | psi_gamma_ |
| const psi::Psi< std::complex< double > > *const | psi_k_ |
| const Parallel_Orbitals & | para_orb_ |
| const int | nspin_ |
| const int | nbands_ |
Manages the computation of the charge densities for different bands (band-decomposed charge densities).
This class is responsible for initializing and managing the charge state computation process, offering functionality to calculate and plot the decomposed charge density for specified bands.
| Get_pchg_lcao::Get_pchg_lcao | ( | const psi::Psi< double > & | psi, |
| const Parallel_Orbitals & | para_orb, | ||
| int | nspin ) |
| Get_pchg_lcao::Get_pchg_lcao | ( | const psi::Psi< std::complex< double > > & | psi, |
| const Parallel_Orbitals & | para_orb, | ||
| int | nspin ) |
| void Get_pchg_lcao::begin_gamma | ( | const UnitCell & | ucell, |
| const Parallel_Grid & | pgrid, | ||
| const Grid_Driver & | grid_driver, | ||
| const std::vector< int > & | out_pchg, | ||
| const int | istep, | ||
| const std::string & | global_out_dir, | ||
| std::ofstream & | ofs_running ) |
| void Get_pchg_lcao::begin_k | ( | const ModulePW::PW_Basis & | rho_pw, |
| UnitCell & | ucell, | ||
| const Parallel_Grid & | pgrid, | ||
| const Grid_Driver & | grid_driver, | ||
| const K_Vectors & | kv, | ||
| const std::vector< int > & | out_pchg, | ||
| bool | if_separate_k, | ||
| const int | istep, | ||
| const std::string & | global_out_dir, | ||
| std::ofstream & | ofs_running ) |
|
private |
|
private |
Build the selected-band mask and reject invalid selectors.
| out_pchg | INPUT parameter out_pchg, vector. |
|
private |
|
private |
|
private |
|
private |
|
private |