ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
deltaspin_core_test.cpp File Reference
#include "source_lcao/module_deltaspin/mi_tools.h"
#include "gtest/gtest.h"
#include <algorithm>
#include <cmath>
#include <complex>
#include <vector>
Include dependency graph for deltaspin_core_test.cpp:

Classes

struct  Vec3
struct  Vec3i
class  PauliToMomentTest
class  DeltaHCCTest
class  AccumulateMiTest
class  AdaptiveThresholdTest
class  GradientDecayTest
class  DirectionOnlyTest
class  ConstraintEnergyTest
class  RmsErrorTest

Functions

 TEST_F (PauliToMomentTest, PureSpinUp)
 TEST_F (PauliToMomentTest, PureSpinDown)
 TEST_F (PauliToMomentTest, EqualSuperposition_SpinX)
 TEST_F (PauliToMomentTest, GeneralCase_AllComponents)
 TEST (PauliConventionTest, LambdaExpectationMatchesDotMoment)
 TEST_F (DeltaHCCTest, Npol2_ZeroLambda)
 TEST_F (DeltaHCCTest, Npol2_PureZ)
 TEST_F (DeltaHCCTest, Npol2_PureX)
 TEST_F (DeltaHCCTest, Npol1_SpinUpPositive)
 TEST_F (AccumulateMiTest, Npol1_SingleK_SpinUp)
 TEST_F (AccumulateMiTest, Npol1_MultiK_MixedSpin)
 TEST_F (AccumulateMiTest, Npol2_PureZMag)
 TEST_F (AccumulateMiTest, RealFunction_Npol1_MatchesOracle)
 TEST_F (AccumulateMiTest, RealFunction_Npol2_MatchesOracle)
 TEST_F (AdaptiveThresholdTest, DefaultAndTightThreshold)
 TEST_F (AdaptiveThresholdTest, ZeroScDropThr)
 TEST_F (GradientDecayTest, GradientBelowThreshold)
 TEST_F (GradientDecayTest, GradientAboveThreshold)
 TEST_F (DirectionOnlyTest, ParallelLambda_ZeroResult)
 TEST_F (DirectionOnlyTest, GeneralCase_Perpendicular)
 TEST_F (ConstraintEnergyTest, SingleAtom_ZConstrained)
 TEST_F (ConstraintEnergyTest, MultiAtom_MixedConstraints)
 TEST_F (RmsErrorTest, SingleComponent)
 TEST_F (RmsErrorTest, MultiAtom)

Function Documentation

◆ TEST()

TEST ( PauliConventionTest ,
LambdaExpectationMatchesDotMoment  )
Here is the call graph for this function:

◆ TEST_F() [1/23]

TEST_F ( AccumulateMiTest ,
Npol1_MultiK_MixedSpin  )

◆ TEST_F() [2/23]

TEST_F ( AccumulateMiTest ,
Npol1_SingleK_SpinUp  )

◆ TEST_F() [3/23]

TEST_F ( AccumulateMiTest ,
Npol2_PureZMag  )

◆ TEST_F() [4/23]

TEST_F ( AccumulateMiTest ,
RealFunction_Npol1_MatchesOracle  )
Here is the call graph for this function:

◆ TEST_F() [5/23]

TEST_F ( AccumulateMiTest ,
RealFunction_Npol2_MatchesOracle  )
Here is the call graph for this function:

◆ TEST_F() [6/23]

TEST_F ( AdaptiveThresholdTest ,
DefaultAndTightThreshold  )

◆ TEST_F() [7/23]

TEST_F ( AdaptiveThresholdTest ,
ZeroScDropThr  )

◆ TEST_F() [8/23]

TEST_F ( ConstraintEnergyTest ,
MultiAtom_MixedConstraints  )

◆ TEST_F() [9/23]

TEST_F ( ConstraintEnergyTest ,
SingleAtom_ZConstrained  )

◆ TEST_F() [10/23]

TEST_F ( DeltaHCCTest ,
Npol1_SpinUpPositive  )

◆ TEST_F() [11/23]

TEST_F ( DeltaHCCTest ,
Npol2_PureX  )

◆ TEST_F() [12/23]

TEST_F ( DeltaHCCTest ,
Npol2_PureZ  )

◆ TEST_F() [13/23]

TEST_F ( DeltaHCCTest ,
Npol2_ZeroLambda  )

◆ TEST_F() [14/23]

TEST_F ( DirectionOnlyTest ,
GeneralCase_Perpendicular  )

◆ TEST_F() [15/23]

TEST_F ( DirectionOnlyTest ,
ParallelLambda_ZeroResult  )

◆ TEST_F() [16/23]

TEST_F ( GradientDecayTest ,
GradientAboveThreshold  )

◆ TEST_F() [17/23]

TEST_F ( GradientDecayTest ,
GradientBelowThreshold  )

◆ TEST_F() [18/23]

TEST_F ( PauliToMomentTest ,
EqualSuperposition_SpinX  )

◆ TEST_F() [19/23]

TEST_F ( PauliToMomentTest ,
GeneralCase_AllComponents  )

◆ TEST_F() [20/23]

TEST_F ( PauliToMomentTest ,
PureSpinDown  )

◆ TEST_F() [21/23]

TEST_F ( PauliToMomentTest ,
PureSpinUp  )

◆ TEST_F() [22/23]

TEST_F ( RmsErrorTest ,
MultiAtom  )

◆ TEST_F() [23/23]

TEST_F ( RmsErrorTest ,
SingleComponent  )