42 #ifndef TRILINOS_DETAILS_LINEARSOLVER_HPP 
   43 #define TRILINOS_DETAILS_LINEARSOLVER_HPP 
   56 #include "TeuchosRemainder_config.h" 
  145 template<
class MV, 
class OP, 
class NormType>
 
  203   virtual void solve (MV& X, 
const MV& 
B) = 0;
 
  267 #endif // TRILINOS_DETAILS_LINEARSOLVER_HPP 
virtual void solve(MV &X, const MV &B)=0
Solve the linear system(s) AX=B. 
 
virtual ~LinearSolver()
Destructor (virtual for memory safety of derived classes). 
 
Interface for a method for solving linear system(s) AX=B. 
 
virtual void setMatrix(const Teuchos::RCP< const OP > &A)=0
Set the solver's matrix. 
 
virtual Teuchos::RCP< const OP > getMatrix() const =0
Get a pointer to this solver's matrix. 
 
virtual void numeric()=0
Set up any part of the solve that depends on both the structure and the numerical values of the input...
 
virtual void symbolic()=0
Set up any part of the solve that depends on the structure of the input matrix, but not its numerical...
 
Reference-counted pointer class and non-member templated function implementations. 
 
virtual void setParameters(const Teuchos::RCP< Teuchos::ParameterList > ¶ms)=0
Set this solver's parameters.