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

Protected Member Functions

void SetUp () override
void make_cell (const std::vector< int > &l_channels, const std::vector< int > &nwls, const std::vector< std::vector< int > > &l_nchis, int npol)

Protected Attributes

UnitCell cell
std::vector< Atom > atoms_storage

Member Function Documentation

◆ make_cell()

void OccMatrixTest::make_cell ( const std::vector< int > & l_channels,
const std::vector< int > & nwls,
const std::vector< std::vector< int > > & l_nchis,
int npol )
inlineprotected

Build a minimal UnitCell with ntype types. Each type has one atom. l_channels gives the correlated l for each type (-1 for uncorrelated). nwl and l_nchi are set to match l_channels.

◆ SetUp()

void OccMatrixTest::SetUp ( )
inlineoverrideprotected

Member Data Documentation

◆ atoms_storage

std::vector<Atom> OccMatrixTest::atoms_storage
protected

◆ cell

UnitCell OccMatrixTest::cell
protected

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