ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
test_dfpt_phon_asr.cpp File Reference
#include "dfpt_test_tool.h"
#include "source_base/complexmatrix.h"
#include "source_base/matrix3.h"
#include "source_basis/module_pw/pw_basis.h"
#include "source_basis/module_pw/pw_basis_k.h"
#include "source_cell/qlist.h"
#include "source_cell/stru_fac.h"
#include "source_cell/unitcell.h"
#include "source_psi/psi.h"
#include "source_pw/module_dfpt/dfpt_kq_basis.h"
#include "source_pw/module_dfpt/dfpt_pert.h"
#include "source_pw/module_dfpt/dfpt_phon.h"
#include "source_pw/module_dfpt/dfpt_pw_data.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <algorithm>
#include <cmath>
#include <complex>
#include <vector>
Include dependency graph for test_dfpt_phon_asr.cpp:

Classes

class  DFPTPhonSerialTest

Functions

 TEST_F (DFPTPhonSerialTest, AsrSimpleZeroesRowSums)
 TEST_F (DFPTPhonSerialTest, AsrCrystalZeroesRowSumsExactlyAndProjectsAcousticToZero)
 TEST_F (DFPTPhonSerialTest, AsrCrystalKeepsEquivalentAtomsEquivalent)
 TEST_F (DFPTPhonSerialTest, AsrCrystalCorrectsBornChargeSumRule)
 TEST_F (DFPTPhonSerialTest, AsrCrystalPlusLotoKeepsAcousticExactlyZero)
 TEST_F (DFPTPhonSerialTest, AsrDirectionalCancellationDetected)
 TEST_F (DFPTPhonSerialTest, AsrSimpleCrossCartesianRegression)
 TEST (DFPTTensorSymmetrize, IsotropicTensorIsInvariant)
 TEST (DFPTTensorSymmetrize, AnisotropicTensorProjectsOntoCubicForm)
 TEST (DFPTTensorSymmetrize, EmptyOrSingleOpIsNoOp)
 TEST (DFPTTensorSymmetrize, BornChargesFollowAtomImages)
 TEST (DFPTTensorSymmetrize, TracesAndSumsArePreserved)

Function Documentation

◆ TEST() [1/5]

TEST ( DFPTTensorSymmetrize ,
AnisotropicTensorProjectsOntoCubicForm  )
Here is the call graph for this function:

◆ TEST() [2/5]

TEST ( DFPTTensorSymmetrize ,
BornChargesFollowAtomImages  )
Here is the call graph for this function:

◆ TEST() [3/5]

TEST ( DFPTTensorSymmetrize ,
EmptyOrSingleOpIsNoOp  )
Here is the call graph for this function:

◆ TEST() [4/5]

TEST ( DFPTTensorSymmetrize ,
IsotropicTensorIsInvariant  )
Here is the call graph for this function:

◆ TEST() [5/5]

TEST ( DFPTTensorSymmetrize ,
TracesAndSumsArePreserved  )
Here is the call graph for this function:

◆ TEST_F() [1/7]

TEST_F ( DFPTPhonSerialTest ,
AsrCrystalCorrectsBornChargeSumRule  )
Here is the call graph for this function:

◆ TEST_F() [2/7]

TEST_F ( DFPTPhonSerialTest ,
AsrCrystalKeepsEquivalentAtomsEquivalent  )
Here is the call graph for this function:

◆ TEST_F() [3/7]

TEST_F ( DFPTPhonSerialTest ,
AsrCrystalPlusLotoKeepsAcousticExactlyZero  )
Here is the call graph for this function:

◆ TEST_F() [4/7]

TEST_F ( DFPTPhonSerialTest ,
AsrCrystalZeroesRowSumsExactlyAndProjectsAcousticToZero  )
Here is the call graph for this function:

◆ TEST_F() [5/7]

TEST_F ( DFPTPhonSerialTest ,
AsrDirectionalCancellationDetected  )
Here is the call graph for this function:

◆ TEST_F() [6/7]

TEST_F ( DFPTPhonSerialTest ,
AsrSimpleCrossCartesianRegression  )
Here is the call graph for this function:

◆ TEST_F() [7/7]

TEST_F ( DFPTPhonSerialTest ,
AsrSimpleZeroesRowSums  )
Here is the call graph for this function: