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

Protected Member Functions

void SetUp () override
void TearDown () override

Protected Attributes

elecstate::MockElecState * elecstate
int imp_sol = 0
bool sc_mag_switch = true
int dft_plus_u = 0
std::string assume_isolated = "none"
int nbands = 6
 band count the bandgap cases build their ekb matrix with

Member Function Documentation

◆ SetUp()

void ElecStateEnergyTest::SetUp ( )
inlineoverrideprotected

◆ TearDown()

void ElecStateEnergyTest::TearDown ( )
inlineoverrideprotected

Member Data Documentation

◆ assume_isolated

std::string ElecStateEnergyTest::assume_isolated = "none"
protected

◆ dft_plus_u

int ElecStateEnergyTest::dft_plus_u = 0
protected

◆ elecstate

elecstate::MockElecState* ElecStateEnergyTest::elecstate
protected

◆ imp_sol

int ElecStateEnergyTest::imp_sol = 0
protected

cal_energies() takes the flags that gate the optional energy terms explicitly, so the fixture owns them instead of staging them in the global parameter singleton. The values mirror the Input_para defaults, except sc_mag_switch, which the original fixture turned on.

◆ nbands

int ElecStateEnergyTest::nbands = 6
protected

band count the bandgap cases build their ekb matrix with

◆ sc_mag_switch

bool ElecStateEnergyTest::sc_mag_switch = true
protected

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