ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
ChgUsppTest Class Reference
Inheritance diagram for ChgUsppTest:
Collaboration diagram for ChgUsppTest:

Static Protected Member Functions

static std::vector< std::complex< double > > make_dense (int nspin, int npw_dense)

Detailed Description

  • 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

Member Function Documentation

◆ 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: