|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Namespaces | |
| namespace | hsolver |
Functions | |
| template<typename T, typename Device> | |
| void | hsolver::zero_pad (T *data, const OrbLayout &layout) |
| Clear all spin-component tails, including scalar-orbital padding. | |
| template<typename T, typename Device> | |
| const T * | hsolver::clean_orbs (const T *input, const OrbLayout &layout, ct::Tensor *scratch) |
| Borrow scalar input, or copy spinors into scratch and clear their padding. Scratch must have room for ld * bands coefficients; input remains unchanged. | |