Public Member Functions | |
LinearSolver () | |
LinearSolver (Playa::Handleable< LinearSolverBase< Scalar > > *rawPtr) | |
LinearSolver (const RCP< LinearSolverBase< Scalar > > &smartPtr) | |
void | updateTolerance (const double &tol) |
void | setUserPrec (const LinearOperator< Scalar > &op, const LinearSolver< Scalar > &pSolver) |
void | setUserPrec (const PreconditionerFactory< Scalar > &pf) |
SolverState< Scalar > | solve (const LinearOperator< Scalar > &op, const Vector< Scalar > &rhs, Vector< Scalar > &soln) const |
const ParameterList & | parameters () const |
ParameterList & | parameters () |
Definition at line 37 of file PlayaLinearSolverDecl.hpp.
Playa::LinearSolver< Scalar >::LinearSolver | ( | ) | [inline] |
Definition at line 41 of file PlayaLinearSolverDecl.hpp.
Playa::LinearSolver< Scalar >::LinearSolver | ( | Playa::Handleable< LinearSolverBase< Scalar > > * | rawPtr | ) | [inline] |
Definition at line 43 of file PlayaLinearSolverDecl.hpp.
Playa::LinearSolver< Scalar >::LinearSolver | ( | const RCP< LinearSolverBase< Scalar > > & | smartPtr | ) | [inline] |
Definition at line 46 of file PlayaLinearSolverDecl.hpp.
ParameterList & Playa::LinearSolver< Scalar >::parameters | ( | ) | [inline] |
Definition at line 117 of file PlayaLinearSolverDecl.hpp.
References Playa::Handle< LinearSolverBase< Scalar > >::ptr().
const ParameterList & Playa::LinearSolver< Scalar >::parameters | ( | ) | const [inline] |
Definition at line 109 of file PlayaLinearSolverDecl.hpp.
References Playa::Handle< LinearSolverBase< Scalar > >::ptr().
void LinearSolver::setUserPrec | ( | const PreconditionerFactory< Scalar > & | pf | ) | [inline] |
Set a user-defined preconditioner
Definition at line 18 of file PlayaLinearSolverImpl.hpp.
References Playa::Handle< LinearSolverBase< Scalar > >::ptr().
void LinearSolver::setUserPrec | ( | const LinearOperator< Scalar > & | op, | |
const LinearSolver< Scalar > & | pSolver | |||
) | [inline] |
Set a user-defined preconditioner
Definition at line 24 of file PlayaLinearSolverImpl.hpp.
References Playa::Handle< LinearSolverBase< Scalar > >::ptr().
SolverState< Scalar > Playa::LinearSolver< Scalar >::solve | ( | const LinearOperator< Scalar > & | op, | |
const Vector< Scalar > & | rhs, | |||
Vector< Scalar > & | soln | |||
) | const [inline] |
Definition at line 78 of file PlayaLinearSolverDecl.hpp.
References PLAYA_MSG1, PLAYA_MSG2, Playa::Handle< LinearOperatorBase< Scalar > >::ptr(), Playa::Handle< VectorBase< Scalar > >::ptr(), solveTimer(), and Playa::MPIComm::world().
Referenced by Epetra::Epetra_PlayaOperator::ApplyInverse(), NOX::NOXPlaya::Group::applyJacobianInverse(), Sundance::StochBlockJacobiSolver::solve(), and Sundance::LinearSolveDriver::solve().
void Playa::LinearSolver< Scalar >::updateTolerance | ( | const double & | tol | ) | [inline] |
Change the convergence tolerance. Default does nothing.
Definition at line 51 of file PlayaLinearSolverDecl.hpp.