|
| | Get_pchg_pw (const psi::Psi< T, Device > &psi, const ModulePW::PW_Basis_K &pw_wfc, const ModulePW::PW_Basis &pw_rho, const ModulePW::PW_Basis &pw_rhod, const pseudopot_cell_vnl &ppcell, const int nspin, const int global_nbands) |
| | Bind the wavefunction, grids, and global band/spin configuration.
|
| void | begin (UnitCell *ucell, const Parallel_Grid &pgrid, const K_Vectors &kv, const std::vector< int > &out_pchg, const std::string &global_out_dir, const bool if_separate_k, const bool noncolin, std::ofstream &ofs_running) const |
| | Write selected bands, either per k-point or after k summation and symmetry.
|
|
| std::vector< int > | select_bands (const std::vector< int > &selection, const std::string ¶meter_name) const |
| void | transform_band (const int global_band, const int ik, const Parallel::ParaBandOutput &band_output, Workspace *work) const |
| const std::complex< double > * | transform_wfc (const T *coefficients, const int ik, const int component, Workspace *work) const |
| void | write_separate (const int band, const UnitCell &ucell, const Parallel_Grid &pgrid, const K_Vectors &kv, const std::string &out_dir, const bool noncolin, const Parallel::ParaBandOutput &band_output, std::ofstream &ofs_running, Workspace *work) const |
| void | write_summed (const int band, UnitCell *ucell, const Parallel_Grid &pgrid, const K_Vectors &kv, const std::string &out_dir, const bool noncolin, const Parallel::ParaBandOutput &band_output, std::ofstream &ofs_running, Workspace *work) const |
| void | calc_density (const int spin_index, const double weight, const bool noncolin, const bool accumulate, Workspace *work) const |
| void | accumulate_uspp (const int band, const int ik, const int spin, const double weight, const Parallel::ParaBandOutput &band_output, Workspace *work) const |
| void | add_augmentation (const UnitCell &ucell, Workspace *work) const |
| void | sum_pools (const Parallel_Grid &pgrid, Workspace *work) const |
| void | symmetrize (UnitCell *ucell, Workspace *work) const |
| void | write_cube (const int band, const int component, const int k_number, const UnitCell &ucell, const Parallel_Grid &pgrid, const std::string &out_dir, const bool separate_k, const std::vector< double > &values, std::ofstream &ofs_running) const |
template<typename
T, typename Device>
class ModuleIO::Get_pchg_pw< T, Device >
Write band-resolved PW partial charges on the dense real-space grid.
The caller owns the wavefunction and bases, which must outlive this object. T follows the solver wavefunction precision; host grid processing uses double. Scratch buffers are local to each begin() call.