|
| | Get_wf_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 int nspin, const int global_nbands) |
| | Bind the wavefunction, grids, and global band/spin configuration.
|
| void | begin (const UnitCell &ucell, const Parallel_Grid &pgrid, const K_Vectors &kv, const std::vector< int > &out_wfc_norm, const std::vector< int > &out_wfc_re_im, const std::string &global_out_dir, std::ofstream &ofs_running) const |
| | Write independently selected norm and Re/Im cubes for every k-point.
|
|
| 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_norm (const int band, const UnitCell &ucell, const Parallel_Grid &pgrid, const K_Vectors &kv, const std::string &out_dir, const Parallel::ParaBandOutput &band_output, std::ofstream &ofs_running, Workspace *work) const |
| void | write_complex (const int band, const UnitCell &ucell, const Parallel_Grid &pgrid, const K_Vectors &kv, const std::string &out_dir, const Parallel::ParaBandOutput &band_output, std::ofstream &ofs_running, Workspace *work) const |
| void | calc_norm (const int spin_index, const double scale, Workspace *work) const |
| void | calc_phase (const int ik, const K_Vectors &kv, std::vector< std::complex< double > > *phase) const |
| void | calc_component (const std::vector< std::complex< double > > &component, const std::vector< std::complex< double > > &phase, const double scale, std::vector< double > *real, std::vector< double > *imag) const |
| void | write_cube (const int band, const int component, const int k_number, const std::string &part, const UnitCell &ucell, const Parallel_Grid &pgrid, const std::string &out_dir, const std::vector< double > &values, std::ofstream &ofs_running) const |
template<typename
T, typename Device>
class ModuleIO::Get_wf_pw< T, Device >
Write real-space norms and complex components of selected PW states.
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.