| 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_AMESOS2_TPETRA_SOLVER_HPP |
| 11 |
#define TEST_SINGLE_AMESOS2_TPETRA_SOLVER_HPP |
| 12 |
|
| 13 |
#include "Teuchos_FancyOStream.hpp" |
| 14 |
#include "Teuchos_RCP.hpp" |
| 15 |
|
| 16 |
namespace Teuchos { |
| 17 |
class ParameterList; |
| 18 |
|
| 19 |
template<class OrdinalType> |
| 20 |
class Comm; |
| 21 |
} |
| 22 |
|
| 23 |
namespace Thyra { |
| 24 |
|
| 25 |
/** \brief Testing function for a single belos solver with a single matrix. |
| 26 |
* |
| 27 |
*/ |
| 28 |
bool test_single_amesos2_tpetra_solver( |
| 29 |
const std::string matrixFile |
| 30 |
,const int numRhs |
| 31 |
,const int numRandomVectors |
| 32 |
,const double maxFwdError |
| 33 |
,const double maxResid |
| 34 |
,const double maxSolutionError |
| 35 |
,const bool showAllTests |
| 36 |
,const bool dumpAll |
| 37 |
,Teuchos::ParameterList *amesos2LOWSFPL |
| 38 |
,Teuchos::FancyOStream *out |
| 39 |
,const Teuchos::RCP<const Teuchos::Comm<int> >& comm |
| 40 |
); |
| 41 |
|
| 42 |
} // namespace Thyra |
| 43 |
|
| 44 |
#endif // TEST_SINGLE_AMESOS2_TPETRA_SOLVER_HPP |