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;
Declaration and definition of linear solver factory, and "factory of factories".
Declaration of linear solver interface.
void numeric()
Set up any part of the solve that depends on both the structure and the numerical values of the input...
Teuchos::RCP< const OP > A_
virtual ~LinearSolverTestBase()
void setParameters(const Teuchos::RCP< Teuchos::ParameterList > &)
Set this solver's parameters.
void symbolic()
Set up any part of the solve that depends on the structure of the input matrix, but not its numerical...
virtual std::string name() const =0
void setMatrix(const Teuchos::RCP< const OP > &A)
Set the solver's matrix.
Teuchos::RCP< const OP > getMatrix() const
Get a pointer to this solver's matrix.
void apply(MV &, const MV &)
Concrete serial communicator subclass.
Interface for a method for solving linear system(s) AX=B.