18 template<
class Scalar>
24 template<
class Scalar>
30 std::cout <<
"Operator<" <<
typeid (Scalar).name () <<
">::apply" << std::endl;
38 template<
class MV,
class OP,
class NormType>
41 virtual std::string
name ()
const = 0;
47 std::cout << this->
name () <<
"::setMatrix" << std::endl;
52 std::cout << this->
name () <<
"::getMatrix" << std::endl;
57 std::cout << this->
name () <<
"::setParameters" << std::endl;
61 std::cout << this->
name () <<
"::symbolic" << std::endl;
65 std::cout << this->
name () <<
"::numeric" << std::endl;
virtual ~LinearSolverTestBase()
Teuchos::RCP< const OP > getMatrix() const
Get a pointer to this solver's matrix.
Interface for a method for solving linear system(s) AX=B.
Declaration and definition of linear solver factory, and "factory of factories".
void symbolic()
Set up any part of the solve that depends on the structure of the input matrix, but not its numerical...
void numeric()
Set up any part of the solve that depends on both the structure and the numerical values of the input...
virtual std::string name() const =0
Teuchos::RCP< const OP > A_
Declaration of linear solver interface.
void apply(MV &, const MV &)
void setParameters(const Teuchos::RCP< Teuchos::ParameterList > &)
Set this solver's parameters.
void setMatrix(const Teuchos::RCP< const OP > &A)
Set the solver's matrix.