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

Protected Member Functions

void SetUp ()
void TearDown ()

Protected Attributes

int nspin = 1
int nrxx = 36 * 36 * 36
int prenspin = 1
double ** rho
UnitCell * ucell
int my_rank = 0
std::ofstream ofs_running = std::ofstream("unittest.log")

Detailed Description

  • Tested Functions:
    • read_rho()
      • the function to read_rho from file
      • the serial version without MPI
    • trilinear_interpolate()
      • the trilinear interpolation method
      • the serial version without MPI

Member Function Documentation

◆ SetUp()

void RhoIOTest::SetUp ( )
inlineprotected

◆ TearDown()

void RhoIOTest::TearDown ( )
inlineprotected

Member Data Documentation

◆ my_rank

int RhoIOTest::my_rank = 0
protected

◆ nrxx

int RhoIOTest::nrxx = 36 * 36 * 36
protected

◆ nspin

int RhoIOTest::nspin = 1
protected

◆ ofs_running

std::ofstream RhoIOTest::ofs_running = std::ofstream("unittest.log")
protected

◆ prenspin

int RhoIOTest::prenspin = 1
protected

◆ rho

double** RhoIOTest::rho
protected

◆ ucell

UnitCell* RhoIOTest::ucell
protected

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