| 1 |
// @HEADER |
| 2 |
// ***************************************************************************** |
| 3 |
// ShyLU: Scalable Hybrid LU Preconditioner and Solver |
| 4 |
// |
| 5 |
// Copyright 2011 NTESS and the ShyLU contributors. |
| 6 |
// SPDX-License-Identifier: BSD-3-Clause |
| 7 |
// ***************************************************************************** |
| 8 |
// @HEADER |
| 9 |
|
| 10 |
#ifndef _STRATIMIKOS_FROSCH_DECL_HPP |
| 11 |
#define _STRATIMIKOS_FROSCH_DECL_HPP |
| 12 |
|
| 13 |
#include <ShyLU_DDFROSch_config.h> |
| 14 |
|
| 15 |
#ifdef HAVE_SHYLU_DDFROSCH_STRATIMIKOS |
| 16 |
#include "Stratimikos_LinearSolverBuilder.hpp" |
| 17 |
|
| 18 |
#include "Teuchos_RCP.hpp" |
| 19 |
#include "Teuchos_ParameterList.hpp" |
| 20 |
#include "Teuchos_TestForException.hpp" |
| 21 |
#include "Teuchos_AbstractFactoryStd.hpp" |
| 22 |
|
| 23 |
|
| 24 |
namespace Thyra { |
| 25 |
|
| 26 |
template <class SC, |
| 27 |
class LO, |
| 28 |
class GO, |
| 29 |
class NO> |
| 30 |
class FROSchFactory; |
| 31 |
} |
| 32 |
|
| 33 |
namespace Stratimikos { |
| 34 |
|
| 35 |
using namespace std; |
| 36 |
using namespace Teuchos; |
| 37 |
using namespace Thyra; |
| 38 |
|
| 39 |
template <typename LO, |
| 40 |
typename GO, |
| 41 |
typename NO> |
| 42 |
void enableFROSch(LinearSolverBuilder<double>& builder, |
| 43 |
const string& stratName = "FROSch"); |
| 44 |
|
| 45 |
template <typename SC = double, |
| 46 |
typename LO = int, |
| 47 |
typename GO = int, |
| 48 |
typename NO = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType> |
| 49 |
void enableFROSch(LinearSolverBuilder<SC>& builder, |
| 50 |
const string& stratName = "FROSch"); |
| 51 |
} // namespace Stratimikos |
| 52 |
|
| 53 |
#endif |
| 54 |
|
| 55 |
#endif |