Go to the source code of this file.
|
| int | elecstate::uspp_becsum_size (const UnitCell &ucell, const pseudopot_cell_vnl &ppcell, const int nspin) |
| | Size of the canonical [spin][atom][packed projector pair] storage.
|
| void | elecstate::add_uspp_density (const UnitCell &ucell, const pseudopot_cell_vnl &ppcell, const ModulePW::PW_Basis &basis, const int nspin, const std::vector< double > &becsum, std::complex< double > **rhog) |
| | Add USPP augmentation to caller-owned dense-grid reciprocal densities. becsum uses i <= j pairs, with the off-diagonal multiplicity already included. The Q(G) tables supply volume normalization; state weights are dimensionless. The current scalar/collinear contraction does not acquire spinor support by setting nspin=4. Spinor support requires charge/magnetization coefficients and a compatible Q/projector representation, including review of the packed-pair convention for SOC.
|