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

Protected Member Functions

void SetUp () override
void setup_charge (int nspin)

Protected Attributes

ModulePW::PW_Basis pw_basis
Charge charge

Detailed Description

  • Tested Functions:
    • symmetrize_rho: dispatch per nspin to cal_rhog_symm / cal_rhog_symm_soc
    • cal_rhog_symm: no-op when symm_flag != 1; otherwise FFT + psymmg + FFT back
    • cal_rhog_symm (raw array overload): same no-op behavior
    • cal_rhog_symm_soc: no-op when symm_flag != 1

The no-op paths (symm_flag == 0) are fully covered without a real symmetry group: the functions return immediately, leaving rho/rhog unchanged.

Member Function Documentation

◆ SetUp()

void ChgSymmTest::SetUp ( )
inlineoverrideprotected

◆ setup_charge()

void ChgSymmTest::setup_charge ( int nspin)
inlineprotected

Member Data Documentation

◆ charge

Charge ChgSymmTest::charge
protected

◆ pw_basis

ModulePW::PW_Basis ChgSymmTest::pw_basis
protected

The documentation for this class was generated from the following file: