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

Protected Member Functions

void SetUp () override
void TearDown () override
void SetUp () override
void TearDown () override
void SetUp () override
void TearDown () override

Protected Attributes

UnitCell ucell
hamilt::HContainer< double > * HR
hamilt::HContainer< std::complex< double > > * HR

Detailed Description

Unit test of HContainer HContainer is a container of hamilt::AtomPair, in this test, we test the following functions:

  1. insert_pair
  2. find_pair
  3. get_atom_pair
  4. fix_R and unfix_R
  5. fix_gamma
  6. loop_R
  7. size_atom_pairs
  8. data

Unit test of HContainer for time consuming HContainer is a container of hamilt::AtomPair, in this test, we test the following functions:

  1. insert_pair
  2. find_pair

Member Function Documentation

◆ SetUp() [1/3]

void HContainerTest::SetUp ( )
inlineoverrideprotected

◆ SetUp() [2/3]

void HContainerTest::SetUp ( )
inlineoverrideprotected

◆ SetUp() [3/3]

void HContainerTest::SetUp ( )
inlineoverrideprotected

◆ TearDown() [1/3]

void HContainerTest::TearDown ( )
inlineoverrideprotected

◆ TearDown() [2/3]

void HContainerTest::TearDown ( )
inlineoverrideprotected

◆ TearDown() [3/3]

void HContainerTest::TearDown ( )
inlineoverrideprotected

Member Data Documentation

◆ HR [1/2]

hamilt::HContainer< double > * HContainerTest::HR
protected

◆ HR [2/2]

hamilt::HContainer<std::complex<double> >* HContainerTest::HR
protected

◆ ucell

UnitCell HContainerTest::ucell
protected

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