Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <PackageC.hpp>
Public Member Functions | |
virtual | ~Solver6 () |
void | solve (MV &, const MV &) |
Solve the linear system(s) AX=B. More... | |
Public Member Functions inherited from Common::LinearSolverTestBase< MV, OP, NormType > | |
virtual | ~LinearSolverTestBase () |
void | setMatrix (const Teuchos::RCP< const OP > &A) |
Set the solver's matrix. More... | |
Teuchos::RCP< const OP > | getMatrix () const |
Get a pointer to this solver's matrix. More... | |
void | setParameters (const Teuchos::RCP< Teuchos::ParameterList > &) |
Set this solver's parameters. More... | |
void | symbolic () |
Set up any part of the solve that depends on the structure of the input matrix, but not its numerical values. More... | |
void | numeric () |
Set up any part of the solve that depends on both the structure and the numerical values of the input matrix. More... | |
Public Member Functions inherited from Trilinos::Details::LinearSolver< MV, OP, NormType > | |
virtual | ~LinearSolver () |
Destructor (virtual for memory safety of derived classes). More... | |
Protected Member Functions | |
std::string | name () const |
Definition at line 44 of file PackageC.hpp.
|
inlinevirtual |
Definition at line 51 of file PackageC.hpp.
|
inlineprotectedvirtual |
Implements Common::LinearSolverTestBase< MV, OP, NormType >.
Definition at line 46 of file PackageC.hpp.
|
inlinevirtual |
Solve the linear system(s) AX=B.
X | [in/out] On input: (multi)vector that is allocated and ready for output. The solver may choose to read the contents as the initial guess(es). On output: the solution vector(s). |
B | [in] Right-hand side(s) of the linear system(s). |
Solves may fail. "Failure" depends on the accuracy that the specific solver promises. The caller is responsible for determining whether the solve succeeded. This may require a dynamic cast to ask the specific kind of solver whether it succeeded, or testing some error metric (like the the residual 2-norm).
Implements Trilinos::Details::LinearSolver< MV, OP, NormType >.
Definition at line 53 of file PackageC.hpp.