47 #ifndef IFPACK2_DETAILS_LINEARSOLVER_DECL_HPP
48 #define IFPACK2_DETAILS_LINEARSOLVER_DECL_HPP
50 #include "Ifpack2_ConfigDefs.hpp"
53 #include "Teuchos_Describable.hpp"
104 template<
class SC,
class LO,
class GO,
class NT>
107 Tpetra::Operator<SC, LO, GO, NT>,
108 typename Tpetra::MultiVector<SC, LO, GO, NT>::mag_type>,
113 typedef Tpetra::Operator<SC, LO, GO, NT> OP;
114 typedef Tpetra::MultiVector<SC, LO, GO, NT> MV;
142 void solve (MV& X,
const MV& B);
166 std::string solverName_;
174 #endif // IFPACK2_DETAILS_LINEARSOLVER_DECL_HPP
virtual ~LinearSolver()
Destructor (virtual for memory safety).
Definition: Ifpack2_Details_LinearSolver_decl.hpp:130
Definition: Ifpack2_AdditiveSchwarz_decl.hpp:68
void solve(MV &X, const MV &B)
Solve the linear system AX=B for X.
Definition: Ifpack2_Details_LinearSolver_def.hpp:135
void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel=Teuchos::Describable::verbLevel_default) const
Implementation of Teuchos::Describable::describe.
Definition: Ifpack2_Details_LinearSolver_def.hpp:207
Teuchos::RCP< const OP > getMatrix() const
Get the solver's matrix.
Definition: Ifpack2_Details_LinearSolver_def.hpp:128
void symbolic()
Precompute for matrix structure changes.
Definition: Ifpack2_Details_LinearSolver_def.hpp:160
void setMatrix(const Teuchos::RCP< const OP > &A)
Set the solver's matrix.
Definition: Ifpack2_Details_LinearSolver_def.hpp:89
Ifpack2's implementation of Trilinos::Details::LinearSolver interface.
Definition: Ifpack2_Details_LinearSolver_decl.hpp:105
Interface for all Ifpack2 preconditioners.
Definition: Ifpack2_Preconditioner.hpp:107
void setParameters(const Teuchos::RCP< Teuchos::ParameterList > ¶ms)
Set the solver's parameters.
Definition: Ifpack2_Details_LinearSolver_def.hpp:152
void numeric()
Precompute for matrix values' changes.
Definition: Ifpack2_Details_LinearSolver_def.hpp:177
static const EVerbosityLevel verbLevel_default
std::string description() const
Implementation of Teuchos::Describable::description.
Definition: Ifpack2_Details_LinearSolver_def.hpp:194
LinearSolver(const Teuchos::RCP< prec_type > &solver, const std::string &solverName)
Constructor.
Definition: Ifpack2_Details_LinearSolver_def.hpp:67