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

Protected Member Functions

void setMemberVariables (Grid &g, std::ofstream &os, const UnitCell &uc)
void SetUp ()
void TearDown ()

Protected Attributes

UnitCell * ucell
UcellTestPrepare utp = UcellTestLib["Si"]
std::ofstream ofs
std::ifstream ifs
bool pbc = true
double radius = ((8 + 5.01) * 2.0 + 0.01) / 10.2
int test_atom_in = 0
std::string output

Detailed Description

  • Tested Functions:
    • Init: Grid::init()
      • setMemberVariables: really set member variables (like dx, dy, dz and d_minX, d_minY, d_minZ) by reading from getters of Atom_input, and construct the member Cell as a 3D array of CellSet

Member Function Documentation

◆ setMemberVariables()

void SltkGridTest::setMemberVariables ( Grid & g,
std::ofstream & os,
const UnitCell & uc )
inlineprotected
Here is the call graph for this function:

◆ SetUp()

void SltkGridTest::SetUp ( )
inlineprotected

◆ TearDown()

void SltkGridTest::TearDown ( )
inlineprotected

Member Data Documentation

◆ ifs

std::ifstream SltkGridTest::ifs
protected

◆ ofs

std::ofstream SltkGridTest::ofs
protected

◆ output

std::string SltkGridTest::output
protected

◆ pbc

bool SltkGridTest::pbc = true
protected

◆ radius

double SltkGridTest::radius = ((8 + 5.01) * 2.0 + 0.01) / 10.2
protected

◆ test_atom_in

int SltkGridTest::test_atom_in = 0
protected

◆ ucell

UnitCell* SltkGridTest::ucell
protected

◆ utp

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

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