CHROMA
Classes | Functions | Variables
fgmres_dr_tests.cc File Reference
#include "gtest/gtest.h"
#include "chromabase.h"
#include "qdp-lapack.h"
#include "actions/ferm/fermacts/fermact_factory_w.h"
#include "actions/ferm/invert/syssolver_fgmres_dr_params.h"
#include "actions/ferm/invert/syssolver_linop_fgmres_dr.h"

Go to the source code of this file.

Classes

class  FGMRESDRTests
 
class  FGMRESDRTestsFloatParams
 

Functions

 TEST_F (FGMRESDRTests, canConstructDefault)
 
 TEST_F (FGMRESDRTests, canReadXML)
 
 TEST_F (FGMRESDRTests, canCreateFGMRESDRClassFromParam)
 
 TEST_F (FGMRESDRTests, canCreateFGMRESDRClassFromFactory)
 
 TEST_F (FGMRESDRTests, multi2d)
 
 TEST_F (FGMRESDRTests, arnoldi5)
 
 TEST_F (FGMRESDRTests, GivensF0G0)
 
 TEST_F (FGMRESDRTests, GivensF0GNot0)
 
 TEST_F (FGMRESDRTests, GivensFNot0G0)
 
 TEST_F (FGMRESDRTests, GivensFNot0GNot0)
 
 TEST_P (FGMRESDRTestsFloatParams, arnoldi5GivensRot)
 
 TEST_F (FGMRESDRTests, testLeastSquares)
 
 TEST_P (FGMRESDRTestsFloatParams, testFullSolverNoDeflate)
 
 TEST_P (FGMRESDRTestsFloatParams, testFullSolverDeflate)
 
 INSTANTIATE_TEST_CASE_P (FGMRESDRTests, FGMRESDRTestsFloatParams, testing::Values(1.0e-3, 1.0e-9))
 
 TEST_F (FGMRESDRTests, testQDPLapackZGETRFZGETRS)
 
 TEST_F (FGMRESDRTests, testGetEigenvector)
 
 TEST_F (FGMRESDRTests, testQR)
 

Variables

const std::string xml_for_param
 

Function Documentation

◆ INSTANTIATE_TEST_CASE_P()

INSTANTIATE_TEST_CASE_P ( FGMRESDRTests  ,
FGMRESDRTestsFloatParams  ,
testing::Values(1.0e-3, 1.0e-9)   
)

◆ TEST_F() [1/14]

TEST_F ( FGMRESDRTests  ,
arnoldi5   
)

◆ TEST_F() [2/14]

TEST_F ( FGMRESDRTests  ,
canConstructDefault   
)

Definition at line 102 of file fgmres_dr_tests.cc.

References ASSERT_EQ, and Chroma::p.

◆ TEST_F() [3/14]

TEST_F ( FGMRESDRTests  ,
canCreateFGMRESDRClassFromFactory   
)

◆ TEST_F() [4/14]

TEST_F ( FGMRESDRTests  ,
canCreateFGMRESDRClassFromParam   
)

Definition at line 124 of file fgmres_dr_tests.cc.

References Chroma::p, Chroma::state, and xml_for_param.

◆ TEST_F() [5/14]

TEST_F ( FGMRESDRTests  ,
canReadXML   
)

Definition at line 112 of file fgmres_dr_tests.cc.

References ASSERT_EQ, Chroma::p, and xml_for_param.

◆ TEST_F() [6/14]

TEST_F ( FGMRESDRTests  ,
GivensF0G0   
)

Definition at line 251 of file fgmres_dr_tests.cc.

References EXPECT_DOUBLE_EQ.

◆ TEST_F() [7/14]

TEST_F ( FGMRESDRTests  ,
GivensF0GNot0   
)

Definition at line 273 of file fgmres_dr_tests.cc.

References EXPECT_DOUBLE_EQ.

◆ TEST_F() [8/14]

TEST_F ( FGMRESDRTests  ,
GivensFNot0G0   
)

Definition at line 300 of file fgmres_dr_tests.cc.

References EXPECT_DOUBLE_EQ.

◆ TEST_F() [9/14]

TEST_F ( FGMRESDRTests  ,
GivensFNot0GNot0   
)

Definition at line 327 of file fgmres_dr_tests.cc.

References EXPECT_DOUBLE_EQ.

◆ TEST_F() [10/14]

TEST_F ( FGMRESDRTests  ,
multi2d   
)

Definition at line 139 of file fgmres_dr_tests.cc.

◆ TEST_F() [11/14]

TEST_F ( FGMRESDRTests  ,
testGetEigenvector   
)

◆ TEST_F() [12/14]

TEST_F ( FGMRESDRTests  ,
testLeastSquares   
)

◆ TEST_F() [13/14]

TEST_F ( FGMRESDRTests  ,
testQDPLapackZGETRFZGETRS   
)

◆ TEST_F() [14/14]

TEST_F ( FGMRESDRTests  ,
testQR   
)

◆ TEST_P() [1/3]

TEST_P ( FGMRESDRTestsFloatParams  ,
arnoldi5GivensRot   
)

◆ TEST_P() [2/3]

TEST_P ( FGMRESDRTestsFloatParams  ,
testFullSolverDeflate   
)

◆ TEST_P() [3/3]

TEST_P ( FGMRESDRTestsFloatParams  ,
testFullSolverNoDeflate   
)

Variable Documentation

◆ xml_for_param

const std::string xml_for_param

Definition at line 10 of file fgmres_dr_tests.cc.

Referenced by FGMRESDRTests::FGMRESDRTests(), TEST_F(), and TEST_P().