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

Protected Member Functions

void SetUp () override
void TearDown () override
void set_qvecs (const std::vector< ModuleBase::Vector3< double > > &qvecs)
 install an explicit q list (Gamma-first or not) into qlist_
ModuleBase::ComplexMatrix make_raw () const
 a distinguishable 6x6 raw matrix: dm(row, col) = (row + 1) + col
void set_polar_tensors ()
std::string read_file (const std::string &path) const

Protected Attributes

ModuleBase::Matrix3 latvec_
UnitCell ucell_
ModuleCell::QList qlist_
ModuleDFPT::DFPT_PW_Data data_

Detailed Description

Writer-focused fixture: only the two-atom cell geometry and the qlist/data binding are needed; the plane-wave bases of the base SetUp are not on the writer path.

Member Function Documentation

◆ make_raw()

ModuleBase::ComplexMatrix DFPTWriteDynTest::make_raw ( ) const
inlineprotected

a distinguishable 6x6 raw matrix: dm(row, col) = (row + 1) + col

◆ read_file()

std::string DFPTWriteDynTest::read_file ( const std::string & path) const
inlineprotected

◆ set_polar_tensors()

void DFPTWriteDynTest::set_polar_tensors ( )
inlineprotected

◆ set_qvecs()

void DFPTWriteDynTest::set_qvecs ( const std::vector< ModuleBase::Vector3< double > > & qvecs)
inlineprotected

install an explicit q list (Gamma-first or not) into qlist_

◆ SetUp()

void DFPTWriteDynTest::SetUp ( )
inlineoverrideprotected
Here is the call graph for this function:

◆ TearDown()

void DFPTWriteDynTest::TearDown ( )
inlineoverrideprotected

Member Data Documentation

◆ data_

ModuleDFPT::DFPT_PW_Data DFPTWriteDynTest::data_
protected

◆ latvec_

ModuleBase::Matrix3 DFPTWriteDynTest::latvec_
protected

◆ qlist_

ModuleCell::QList DFPTWriteDynTest::qlist_
protected

◆ ucell_

UnitCell DFPTWriteDynTest::ucell_
protected

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