| 1 |
// @HEADER |
| 2 |
// ***************************************************************************** |
| 3 |
// Stratimikos: Thyra-based strategies for linear solvers |
| 4 |
// |
| 5 |
// Copyright 2006 NTESS and the Stratimikos contributors. |
| 6 |
// SPDX-License-Identifier: BSD-3-Clause |
| 7 |
// ***************************************************************************** |
| 8 |
// @HEADER |
| 9 |
|
| 10 |
#ifndef TEST_SINGLE_AMESOS_THYRA_SOLVER_HPP |
| 11 |
#define TEST_SINGLE_AMESOS_THYRA_SOLVER_HPP |
| 12 |
|
| 13 |
#include "Thyra_AmesosTypes.hpp" |
| 14 |
#include "Teuchos_FancyOStream.hpp" |
| 15 |
#include "Teuchos_ParameterList.hpp" |
| 16 |
|
| 17 |
namespace Thyra { |
| 18 |
|
| 19 |
/** \brief Testing function for a single amesos solver with a single matrix. |
| 20 |
* |
| 21 |
*/ |
| 22 |
bool test_single_amesos_thyra_solver( |
| 23 |
const std::string matrixFile |
| 24 |
,Teuchos::ParameterList *amesosLOWSFPL |
| 25 |
,const bool testTranspose |
| 26 |
,const int numRandomVectors |
| 27 |
,const double maxFwdError |
| 28 |
,const double maxError |
| 29 |
,const double maxResid |
| 30 |
,const bool showAllTests |
| 31 |
,const bool dumpAll |
| 32 |
,Teuchos::FancyOStream *out |
| 33 |
); |
| 34 |
|
| 35 |
} // namespace Thyra |
| 36 |
|
| 37 |
#endif // TEST_SINGLE_AMESOS_THYRA_SOLVER_HPP |