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