Public Member Functions | |
| LinearSolveDriver () | |
| Expr | formSolutionExpr (const Array< Vector< double > > &solnVector, const Array< RCP< DiscreteSpace > > &solutionSpace, const Array< Array< string > > &names, int verb) const |
| SolverState< double > | solve (const LinearSolver< double > &solver, const LinearOperator< double > &A, const Array< Vector< double > > &rhs, const Array< RCP< DiscreteSpace > > &solutionSpace, const Array< Array< string > > &names, int verb, Expr &soln) const |
| void | writeIntoSolutionExpr (const Array< Vector< double > > &solnVector, Expr soln, int verb) const |
Static Public Member Functions | |
| static std::string & | badMatrixFilename () |
| static std::string & | badVectorFilename () |
| static bool & | solveFailureIsFatal () |
| static bool & | dumpBadMatrix () |
Definition at line 58 of file SundanceLinearSolveDriver.hpp.
| Sundance::LinearSolveDriver::LinearSolveDriver | ( | ) | [inline] |
Definition at line 62 of file SundanceLinearSolveDriver.hpp.
| static std::string& Sundance::LinearSolveDriver::badMatrixFilename | ( | ) | [inline, static] |
Filename for dump of bad matrix
Definition at line 87 of file SundanceLinearSolveDriver.hpp.
| static std::string& Sundance::LinearSolveDriver::badVectorFilename | ( | ) | [inline, static] |
Filename for dump of bad vector
Definition at line 91 of file SundanceLinearSolveDriver.hpp.
| static bool& Sundance::LinearSolveDriver::dumpBadMatrix | ( | ) | [inline, static] |
Whether to dump a matrix upon solve failure
Definition at line 99 of file SundanceLinearSolveDriver.hpp.
| Expr LinearSolveDriver::formSolutionExpr | ( | const Array< Vector< double > > & | solnVector, |
| const Array< RCP< DiscreteSpace > > & | solutionSpace, | ||
| const Array< Array< string > > & | names, | ||
| int | verb | ||
| ) | const |
Definition at line 154 of file SundanceLinearSolveDriver.cpp.
References Teuchos::toString().
Referenced by Sundance::LinearProblem::formSolutionExpr().
| SolverState< double > LinearSolveDriver::solve | ( | const LinearSolver< double > & | solver, |
| const LinearOperator< double > & | A, | ||
| const Array< Vector< double > > & | rhs, | ||
| const Array< RCP< DiscreteSpace > > & | solutionSpace, | ||
| const Array< Array< string > > & | names, | ||
| int | verb, | ||
| Expr & | soln | ||
| ) | const |
Definition at line 68 of file SundanceLinearSolveDriver.cpp.
References Playa::Handle< PointerType >::print(), Playa::Handle< PointerType >::ptr(), Playa::LinearSolver< Scalar >::solve(), Playa::SolveConverged, and SUNDANCE_MSG2.
Referenced by Sundance::NLOp::computeSensitivities(), and Sundance::LinearProblem::solve().
| static bool& Sundance::LinearSolveDriver::solveFailureIsFatal | ( | ) | [inline, static] |
Whether a solve failure throws an exception
Definition at line 95 of file SundanceLinearSolveDriver.hpp.
| void LinearSolveDriver::writeIntoSolutionExpr | ( | const Array< Vector< double > > & | solnVector, |
| Expr | soln, | ||
| int | verb | ||
| ) | const |
Definition at line 194 of file SundanceLinearSolveDriver.cpp.
References Sundance::setDiscreteFunctionVector(), and Sundance::Expr::size().