ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
test_lr_util.cpp File Reference
#include "../lr_util.h"
#include "source_cell/unitcell.h"
#include <gtest/gtest.h>
#include <vector>
Include dependency graph for test_lr_util.cpp:

Functions

 TEST (LRForcePP, AllowsForcesAndRelaxationWithoutNLCC)
 TEST (LRForcePP, AllowsNLCCTDDFTSpectra)
 TEST (LRForcePP, RejectsNLCCForcesAndIdentifiesThePseudopotential)
 TEST (LRForcePP, RejectsNLCCRelaxationEvenWithoutExplicitForceFlag)
 TEST (LR_XCSigma, PreservesAntiparallelSpinGradientsWithoutHSE)
 TEST (LR_XCSigma, RetainsExistingHSEStabilizationWithoutMutatingTheDensity)
 TEST (LRForceWindow, CompleteSpinResolvedWindowsNeedNoWarning)
 TEST (LRForceWindow, ReportsVirtualTruncationAndForceLimitation)
 TEST (LRForceWindow, EqualXAndZDoNotHideOccupiedOrBandTruncation)
 TEST (LRSpinPopulation, RoundAfterSummingFractionalOccupations)
 TEST (LRSpinPopulation, SumKPointsBeforeRounding)
 TEST (LREigensolver, RealWorkspaceRetainsEigenpairs)
 TEST (LREigensolver, ComplexWorkspaceRetainsEigenpairs)
 TEST (LREigensolver, RealGeneralEigenproblemKeepsComplexPair)
 TEST (LREigensolver, ComplexGeneralEigenproblemKeepsEigenvalues)
 TEST (LRLinearSolver, ReportsSingularRealFactorization)
 TEST (LRLinearSolver, ReportsSingularComplexFactorization)

Function Documentation

◆ TEST() [1/17]

TEST ( LR_XCSigma ,
PreservesAntiparallelSpinGradientsWithoutHSE  )
Here is the call graph for this function:

◆ TEST() [2/17]

TEST ( LR_XCSigma ,
RetainsExistingHSEStabilizationWithoutMutatingTheDensity  )
Here is the call graph for this function:

◆ TEST() [3/17]

TEST ( LREigensolver ,
ComplexGeneralEigenproblemKeepsEigenvalues  )
Here is the call graph for this function:

◆ TEST() [4/17]

TEST ( LREigensolver ,
ComplexWorkspaceRetainsEigenpairs  )

◆ TEST() [5/17]

TEST ( LREigensolver ,
RealGeneralEigenproblemKeepsComplexPair  )
Here is the call graph for this function:

◆ TEST() [6/17]

TEST ( LREigensolver ,
RealWorkspaceRetainsEigenpairs  )

◆ TEST() [7/17]

TEST ( LRForcePP ,
AllowsForcesAndRelaxationWithoutNLCC  )
Here is the call graph for this function:

◆ TEST() [8/17]

TEST ( LRForcePP ,
AllowsNLCCTDDFTSpectra  )
Here is the call graph for this function:

◆ TEST() [9/17]

TEST ( LRForcePP ,
RejectsNLCCForcesAndIdentifiesThePseudopotential  )
Here is the call graph for this function:

◆ TEST() [10/17]

TEST ( LRForcePP ,
RejectsNLCCRelaxationEvenWithoutExplicitForceFlag  )
Here is the call graph for this function:

◆ TEST() [11/17]

TEST ( LRForceWindow ,
CompleteSpinResolvedWindowsNeedNoWarning  )
Here is the call graph for this function:

◆ TEST() [12/17]

TEST ( LRForceWindow ,
EqualXAndZDoNotHideOccupiedOrBandTruncation  )
Here is the call graph for this function:

◆ TEST() [13/17]

TEST ( LRForceWindow ,
ReportsVirtualTruncationAndForceLimitation  )
Here is the call graph for this function:

◆ TEST() [14/17]

TEST ( LRLinearSolver ,
ReportsSingularComplexFactorization  )
Here is the call graph for this function:

◆ TEST() [15/17]

TEST ( LRLinearSolver ,
ReportsSingularRealFactorization  )
Here is the call graph for this function:

◆ TEST() [16/17]

TEST ( LRSpinPopulation ,
RoundAfterSummingFractionalOccupations  )
Here is the call graph for this function:

◆ TEST() [17/17]

TEST ( LRSpinPopulation ,
SumKPointsBeforeRounding  )
Here is the call graph for this function: