27 template<
class Scalar>
33 template<
class Scalar>
39 std::cout <<
"Operator<" <<
typeid (Scalar).name () <<
">::apply" << std::endl;
47 template<
class MV,
class OP,
class NormType>
50 virtual std::string
name ()
const = 0;
56 std::cout << this->
name () <<
"::setMatrix" << std::endl;
61 std::cout << this->
name () <<
"::getMatrix" << std::endl;
66 std::cout << this->
name () <<
"::setParameters" << std::endl;
70 std::cout << this->
name () <<
"::symbolic" << std::endl;
74 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.