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

Protected Member Functions

void SetUp ()
void TearDown ()

Protected Attributes

elecstate::ElecState elecstate
UnitCell ucell
Input_para inp
bool two_fermi = false
std::string output
std::ifstream ifs
std::ofstream ofs
K_Vectors * p_klist

Detailed Description

  • Tested functions:
    • ElecState::print_format()

Member Function Documentation

◆ SetUp()

void ElecStatePrintTest::SetUp ( )
inlineprotected

◆ TearDown()

void ElecStatePrintTest::TearDown ( )
inlineprotected

Member Data Documentation

◆ elecstate

elecstate::ElecState ElecStatePrintTest::elecstate
protected

◆ ifs

std::ifstream ElecStatePrintTest::ifs
protected

◆ inp

Input_para ElecStatePrintTest::inp
protected

print_etot() takes the INPUT parameters and the two-Fermi flag as arguments, so the fixture owns them instead of writing the global parameter singleton.

◆ ofs

std::ofstream ElecStatePrintTest::ofs
protected

◆ output

std::string ElecStatePrintTest::output
protected

◆ p_klist

K_Vectors* ElecStatePrintTest::p_klist
protected

◆ two_fermi

bool ElecStatePrintTest::two_fermi = false
protected

◆ ucell

UnitCell ElecStatePrintTest::ucell
protected

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