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

Protected Member Functions

void SetUp () override
void TearDown () override

Protected Attributes

module_charge::Charge_Extra CE
UcellTestPrepare utp = UcellTestLib["Si"]
std::unique_ptr< UnitCell > ucell
Parallel_Grid * pgrid = nullptr
Charge charge
Structure_Factor sf
int nspin = 1
std::string chg_extrap

Detailed Description

  • Tested Functions:
    • Charge_Extra::Init_CE()
      • Initialization of viriables used in charge extrapolation methods
    • Charge_Extra::extrapolate_charge()
      • charge extrapolation
    • Charge_Extra::update_all_dis()
      • update displacements
    • Charge_Extra::find_alpha_and_beta()
      • determine alpha and beta

Member Function Documentation

◆ SetUp()

void ChargeExtraTest::SetUp ( )
inlineoverrideprotected

◆ TearDown()

void ChargeExtraTest::TearDown ( )
inlineoverrideprotected

Member Data Documentation

◆ CE

module_charge::Charge_Extra ChargeExtraTest::CE
protected

◆ charge

Charge ChargeExtraTest::charge
protected

◆ chg_extrap

std::string ChargeExtraTest::chg_extrap
protected

◆ nspin

int ChargeExtraTest::nspin = 1
protected

Init_CE() takes the spin count and the extrapolation method as arguments, so the fixture owns them instead of staging them in the global parameter singleton.

◆ pgrid

Parallel_Grid* ChargeExtraTest::pgrid = nullptr
protected

◆ sf

Structure_Factor ChargeExtraTest::sf
protected

◆ ucell

std::unique_ptr<UnitCell> ChargeExtraTest::ucell
protected

◆ utp

UcellTestPrepare ChargeExtraTest::utp = UcellTestLib["Si"]
protected

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