00001 /* @HEADER@ */ 00002 // 00003 /* @HEADER@ */ 00004 00005 #ifndef PLAYA_LINEARSOLVERIMPL_HPP 00006 #define PLAYA_LINEARSOLVERIMPL_HPP 00007 00008 #include "PlayaLinearSolverDecl.hpp" 00009 #include "PlayaLinearSolverBaseImpl.hpp" 00010 #include "PlayaPreconditionerFactory.hpp" 00011 00012 using namespace Playa; 00013 using namespace Teuchos; 00014 00015 00016 00017 template <class Scalar> inline 00018 void LinearSolver<Scalar>::setUserPrec(const PreconditionerFactory<Scalar>& pf) 00019 { 00020 this->ptr()->setUserPrec(pf); 00021 } 00022 00023 template <class Scalar> inline 00024 void LinearSolver<Scalar>::setUserPrec(const LinearOperator<Scalar>& P, 00025 const LinearSolver<Scalar>& pSolver) 00026 { 00027 this->ptr()->setUserPrec(P, pSolver); 00028 } 00029 00030 #endif