| 1 |
// @HEADER |
| 2 |
// ***************************************************************************** |
| 3 |
// Belos: Block Linear Solvers Package |
| 4 |
// |
| 5 |
// Copyright 2004-2016 NTESS and the Belos contributors. |
| 6 |
// SPDX-License-Identifier: BSD-3-Clause |
| 7 |
// ***************************************************************************** |
| 8 |
// @HEADER |
| 9 |
|
| 10 |
#ifndef BELOSSOLVERFACTORY_EPETRA_HPP |
| 11 |
#define BELOSSOLVERFACTORY_EPETRA_HPP |
| 12 |
|
| 13 |
#include "Belos_Details_Epetra_registerSolverFactory.hpp" |
| 14 |
#include "BelosSolverFactory.hpp" |
| 15 |
#include "Epetra_MultiVector.h" |
| 16 |
#include "Epetra_Operator.h" |
| 17 |
|
| 18 |
namespace Belos { |
| 19 |
|
| 20 |
class EpetraSolverFactory : public Impl::SolverFactoryParent<double, Epetra_MultiVector, Epetra_Operator> |
| 21 |
{ |
| 22 |
public: |
| 23 |
EpetraSolverFactory() { |
| 24 |
Details::Epetra::registerSolverFactory(); |
| 25 |
}; |
| 26 |
}; |
| 27 |
|
| 28 |
namespace Impl { |
| 29 |
|
| 30 |
template<> |
| 31 |
class SolverFactorySelector<double, Epetra_MultiVector, Epetra_Operator> { |
| 32 |
public: |
| 33 |
typedef EpetraSolverFactory type; |
| 34 |
}; |
| 35 |
|
| 36 |
} // namespace Impl |
| 37 |
} // namespace Belos |
| 38 |
|
| 39 |
#endif // BELOSSOLVERFACTORY_EPETRA_HPP |