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

Classes

class  TestableCG

Functions

 TEST (CGBase, SetupCgGradRestartOnCounter)
 TEST (CGBase, SetupCgGradRestartOnFlagTwo)
 TEST (CGBase, SetupCgGradFRBranch)
 TEST (CGBase, SetupCgGradPRPBranch)
 TEST (CGBase, FCalProjectsNormalized)
 TEST (CGBase, SetupMoveNegativeScaled)
 TEST (CGBase, NormalizeUnitVector)
 TEST (CGBase, NormalizeZeroVectorSafe)
 TEST (CGBase, BrentSameSignBranch)
 TEST (CGBase, BrentOppositeSignQuadratic)
 TEST (CGBase, ThirdOrderFallbackDmoveh)
 TEST (CGBase, ThirdOrderCubicFit)
 TEST (CGBase, BrentSameSignMovesToXcCase)
 TEST (CGBase, BrentQuadraticCaseA)
 TEST (CGBase, BrentQuadraticCaseB)
 TEST (CGBase, BrentQuadraticCaseC)
 TEST (CGBase, ThirdOrderLinearFallbackPositiveFa)
 TEST (CGBase, ThirdOrderLinearFallbackNegativeFa)
 TEST (CGBase, ThirdOrderLinearFallbackMixedSign)
 TEST (CGBase, FCalUniformNine)
 TEST (CGBase, SetupMoveUniformNine)

Function Documentation

◆ TEST() [1/21]

TEST ( CGBase ,
BrentOppositeSignQuadratic  )
Here is the call graph for this function:

◆ TEST() [2/21]

TEST ( CGBase ,
BrentQuadraticCaseA  )
Here is the call graph for this function:

◆ TEST() [3/21]

TEST ( CGBase ,
BrentQuadraticCaseB  )
Here is the call graph for this function:

◆ TEST() [4/21]

TEST ( CGBase ,
BrentQuadraticCaseC  )
Here is the call graph for this function:

◆ TEST() [5/21]

TEST ( CGBase ,
BrentSameSignBranch  )
Here is the call graph for this function:

◆ TEST() [6/21]

TEST ( CGBase ,
BrentSameSignMovesToXcCase  )
Here is the call graph for this function:

◆ TEST() [7/21]

TEST ( CGBase ,
FCalProjectsNormalized  )
Here is the call graph for this function:

◆ TEST() [8/21]

TEST ( CGBase ,
FCalUniformNine  )
Here is the call graph for this function:

◆ TEST() [9/21]

TEST ( CGBase ,
NormalizeUnitVector  )
Here is the call graph for this function:

◆ TEST() [10/21]

TEST ( CGBase ,
NormalizeZeroVectorSafe  )
Here is the call graph for this function:

◆ TEST() [11/21]

TEST ( CGBase ,
SetupCgGradFRBranch  )
Here is the call graph for this function:

◆ TEST() [12/21]

TEST ( CGBase ,
SetupCgGradPRPBranch  )
Here is the call graph for this function:

◆ TEST() [13/21]

TEST ( CGBase ,
SetupCgGradRestartOnCounter  )
Here is the call graph for this function:

◆ TEST() [14/21]

TEST ( CGBase ,
SetupCgGradRestartOnFlagTwo  )
Here is the call graph for this function:

◆ TEST() [15/21]

TEST ( CGBase ,
SetupMoveNegativeScaled  )
Here is the call graph for this function:

◆ TEST() [16/21]

TEST ( CGBase ,
SetupMoveUniformNine  )
Here is the call graph for this function:

◆ TEST() [17/21]

TEST ( CGBase ,
ThirdOrderCubicFit  )
Here is the call graph for this function:

◆ TEST() [18/21]

TEST ( CGBase ,
ThirdOrderFallbackDmoveh  )
Here is the call graph for this function:

◆ TEST() [19/21]

TEST ( CGBase ,
ThirdOrderLinearFallbackMixedSign  )
Here is the call graph for this function:

◆ TEST() [20/21]

TEST ( CGBase ,
ThirdOrderLinearFallbackNegativeFa  )
Here is the call graph for this function:

◆ TEST() [21/21]

TEST ( CGBase ,
ThirdOrderLinearFallbackPositiveFa  )
Here is the call graph for this function: