|
| static std::vector< std::complex< double > > | make_dense (int nspin, int npw_dense) |
- Tested Functions:
- split_dgrid: split dense reciprocal data into smooth and high-frequency parts on the USPP double grid
- normal split with nspin=1 and nspin=2
- boundary: npw_smooth == 0 (all high-frequency)
- boundary: npw_dense == npw_smooth (no high-frequency)
- multi-spin channel isolation
- abort on invalid inputs (null pointer, bad nspin/npw, size mismatch)
- merge_dgrid: merge smooth and high-frequency parts back into dense
- round-trip with split_dgrid reproduces the original data
- abort on invalid inputs
◆ make_dense()
| std::vector< std::complex< double > > ChgUsppTest::make_dense |
( |
int | nspin, |
|
|
int | npw_dense ) |
|
inlinestaticprotected |
The documentation for this class was generated from the following file:
- /home/runner/work/abacus-develop/abacus-develop/source/source_estate/module_charge/unittests/test_chg_uspp.cpp