◆ ChargeMixingTest()
| ChargeMixingTest::ChargeMixingTest |
( |
| ) |
|
|
inline |
◆ make_cfg()
◆ sync_cfg()
◆ wire_charge()
| void ChargeMixingTest::wire_charge |
( |
const int | nspin, |
|
|
const int | nrxx, |
|
|
const int | npw, |
|
|
const bool | kin_den ) |
|
inline |
◆ buf_kin_r
| std::vector<double> ChargeMixingTest::buf_kin_r |
◆ buf_kin_r_save
| std::vector<double> ChargeMixingTest::buf_kin_r_save |
◆ buf_rho
| std::vector<double> ChargeMixingTest::buf_rho |
Backing storage for the Charge views under test. charge.cpp is not one of this target's sources, so Charge::allocate() is unavailable here and the fixture supplies the buffers itself, pointing the public rho/rhog/kin_r views at them with the same is*nrxx (resp. is*npw) stride allocate() would lay out. Owning them as vectors also means the fixture cleans up after itself.
◆ buf_rho_save
| std::vector<double> ChargeMixingTest::buf_rho_save |
◆ buf_rhog
| std::vector<std::complex<double> > ChargeMixingTest::buf_rhog |
◆ buf_rhog_save
| std::vector<std::complex<double> > ChargeMixingTest::buf_rhog_save |
◆ cfg
The mixing configuration under test. The production mixing code takes this snapshot explicitly rather than reading any global, so the fixture owns it outright instead of staging values in the parameter singleton; each case amends the fields it cares about and hands it to set_mixing().
◆ charge
| Charge ChargeMixingTest::charge |
◆ ptr_kin_r
| std::vector<double*> ChargeMixingTest::ptr_kin_r |
◆ ptr_kin_r_save
| std::vector<double*> ChargeMixingTest::ptr_kin_r_save |
◆ ptr_rho
| std::vector<double*> ChargeMixingTest::ptr_rho |
◆ ptr_rho_save
| std::vector<double*> ChargeMixingTest::ptr_rho_save |
◆ ptr_rhog
| std::vector<std::complex<double>*> ChargeMixingTest::ptr_rhog |
◆ ptr_rhog_save
| std::vector<std::complex<double>*> ChargeMixingTest::ptr_rhog_save |
◆ pw_basis
◆ pw_dbasis
◆ ucell
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_mix.cpp