|
| | NonlocalWorkspace ()=default |
| | ~NonlocalWorkspace () |
| | NonlocalWorkspace (const NonlocalWorkspace &)=delete |
| NonlocalWorkspace & | operator= (const NonlocalWorkspace &)=delete |
| void | apply (const UnitCell &cell, const pseudopot_cell_vnl &pp, const ModulePW::PW_Basis_K &basis, const int spin, const int bands, const int nbasis, const int npol, const int npw, const bool is_first_node, const T *vkb, const T *psi, T *hpsi) |
| | Apply beta D beta-dagger, preserving pool collectives on empty ranks.
|
| T * | get_becp () const |
| | Borrow the most recently computed projection coefficients.
|
| void | project_contract (const UnitCell &cell, const pseudopot_cell_vnl &pp, const ModulePW::PW_Basis_K &basis, int spin, int bands, int nbasis, int npol, int npw, const T *vkb, const T *psi) |
| | Project and contract on every pool rank, including empty PW partitions; bands counts spin-component columns. B uses [column][projector] and DB [projector][column]; both borrowed arrays are pool-reduced and valid until the next operation.
|
| const T * | projections () const |
| const T * | contracted () const |
|
| void | project (const T *vkb, const T *psi, const int npw, const int ldv, const int ldp, const int nkb, const int bands) |
| void | contract (const UnitCell &cell, const pseudopot_cell_vnl &pp, const int spin, const int npol, const int bands) |
| void | back_project (const T *vkb, T *hpsi, const int npw, const int ldv, const int ldp, const int nkb, const int bands) |
template<typename
T, typename Device>
class hamilt::NonlocalWorkspace< T, Device >
Reusable device buffers for applying a nonlocal projector operator.