|
CHROMA
|
#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 |
| INSTANTIATE_TEST_CASE_P | ( | FGMRESDRTests | , |
| FGMRESDRTestsFloatParams | , | ||
| testing::Values(1.0e-3, 1.0e-9) | |||
| ) |
| TEST_F | ( | FGMRESDRTests | , |
| arnoldi5 | |||
| ) |
Definition at line 162 of file fgmres_dr_tests.cc.
References ASSERT_EQ, ASSERT_NEAR, Chroma::StagPhases::beta(), EXPECT_DOUBLE_EQ, Chroma::LinOpSysSolverFGMRESDR::FlexibleArnoldi(), Chroma::gaussian(), Chroma::i, Chroma::InlinePropAndMatElemDistillation2Env::local::innerProduct(), j, Chroma::p, Chroma::s(), Chroma::state, Chroma::LinOpSysSolverFGMRESDR::subset(), and xml_for_param.
| TEST_F | ( | FGMRESDRTests | , |
| canConstructDefault | |||
| ) |
Definition at line 102 of file fgmres_dr_tests.cc.
| TEST_F | ( | FGMRESDRTests | , |
| canCreateFGMRESDRClassFromFactory | |||
| ) |
Definition at line 132 of file fgmres_dr_tests.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), Chroma::state, and xml_for_param.
| 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 | ( | FGMRESDRTests | , |
| canReadXML | |||
| ) |
Definition at line 112 of file fgmres_dr_tests.cc.
References ASSERT_EQ, Chroma::p, and xml_for_param.
| TEST_F | ( | FGMRESDRTests | , |
| GivensF0G0 | |||
| ) |
Definition at line 251 of file fgmres_dr_tests.cc.
References EXPECT_DOUBLE_EQ.
| TEST_F | ( | FGMRESDRTests | , |
| GivensF0GNot0 | |||
| ) |
Definition at line 273 of file fgmres_dr_tests.cc.
References EXPECT_DOUBLE_EQ.
| TEST_F | ( | FGMRESDRTests | , |
| GivensFNot0G0 | |||
| ) |
Definition at line 300 of file fgmres_dr_tests.cc.
References EXPECT_DOUBLE_EQ.
| TEST_F | ( | FGMRESDRTests | , |
| GivensFNot0GNot0 | |||
| ) |
Definition at line 327 of file fgmres_dr_tests.cc.
References EXPECT_DOUBLE_EQ.
| TEST_F | ( | FGMRESDRTests | , |
| multi2d | |||
| ) |
Definition at line 139 of file fgmres_dr_tests.cc.
| TEST_F | ( | FGMRESDRTests | , |
| testGetEigenvector | |||
| ) |
Definition at line 828 of file fgmres_dr_tests.cc.
References ASSERT_LE, Chroma::StagPhases::beta(), EXPECT_LT, Chroma::LinOpSysSolverFGMRESDR::FlexibleArnoldi(), Chroma::gaussian(), Chroma::LinOpSysSolverFGMRESDR::GetEigenvectors(), Chroma::i, j, Chroma::p, Chroma::s(), Chroma::state, Chroma::LinOpSysSolverFGMRESDR::subset(), and xml_for_param.
| TEST_F | ( | FGMRESDRTests | , |
| testLeastSquares | |||
| ) |
Definition at line 527 of file fgmres_dr_tests.cc.
References Chroma::b, EXPECT_DOUBLE_EQ, Chroma::LinOpSysSolverFGMRESDR::LeastSquaresSolve(), Chroma::p, Chroma::state, x, xml_for_param, and Chroma::zero.
| TEST_F | ( | FGMRESDRTests | , |
| testQDPLapackZGETRFZGETRS | |||
| ) |
Definition at line 653 of file fgmres_dr_tests.cc.
References ASSERT_EQ, Chroma::StagPhases::beta(), EXPECT_LT, Chroma::LinOpSysSolverFGMRESDR::FlexibleArnoldi(), Chroma::gaussian(), Chroma::info, j, Chroma::p, Chroma::s(), Chroma::state, Chroma::LinOpSysSolverFGMRESDR::subset(), xml_for_param, and Chroma::zero.
| TEST_F | ( | FGMRESDRTests | , |
| testQR | |||
| ) |
Definition at line 967 of file fgmres_dr_tests.cc.
References Chroma::StagPhases::beta(), Chroma::c, Chroma::eta, EXPECT_LT, Chroma::LinOpSysSolverFGMRESDR::FlexibleArnoldi(), Chroma::gaussian(), Chroma::LinOpSysSolverFGMRESDR::GetEigenvectors(), Chroma::i, Chroma::InlinePropAndMatElemDistillation2Env::local::innerProduct(), j, Chroma::k, Chroma::LinOpSysSolverFGMRESDR::LeastSquaresSolve(), m, n, Chroma::p, Chroma::s(), Chroma::state, Chroma::LinOpSysSolverFGMRESDR::subset(), xml_for_param, and Chroma::zero.
| TEST_P | ( | FGMRESDRTestsFloatParams | , |
| arnoldi5GivensRot | |||
| ) |
Definition at line 377 of file fgmres_dr_tests.cc.
References ASSERT_LE, ASSERT_NEAR, Chroma::StagPhases::beta(), EXPECT_DOUBLE_EQ, Chroma::LinOpSysSolverFGMRESDR::FlexibleArnoldi(), Chroma::gaussian(), Chroma::i, Chroma::InlinePropAndMatElemDistillation2Env::local::innerProduct(), j, Chroma::p, Chroma::s(), Chroma::state, Chroma::LinOpSysSolverFGMRESDR::subset(), and xml_for_param.
| TEST_P | ( | FGMRESDRTestsFloatParams | , |
| testFullSolverDeflate | |||
| ) |
Definition at line 607 of file fgmres_dr_tests.cc.
References ASSERT_LE, Chroma::gaussian(), Chroma::p, Chroma::PLUS, Chroma::r, Chroma::s(), Chroma::state, x, xml_for_param, and Chroma::zero.
| TEST_P | ( | FGMRESDRTestsFloatParams | , |
| testFullSolverNoDeflate | |||
| ) |
Definition at line 569 of file fgmres_dr_tests.cc.
References ASSERT_LE, Chroma::gaussian(), Chroma::p, Chroma::PLUS, Chroma::r, Chroma::s(), Chroma::state, x, xml_for_param, and Chroma::zero.
| 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().