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 47 of file SundanceLinearSolveDriver.hpp.
| Sundance::LinearSolveDriver::LinearSolveDriver | ( | ) |  [inline] | 
        
Definition at line 51 of file SundanceLinearSolveDriver.hpp.
| static std::string& Sundance::LinearSolveDriver::badMatrixFilename | ( | ) |  [inline, static] | 
        
Filename for dump of bad matrix
Definition at line 76 of file SundanceLinearSolveDriver.hpp.
Referenced by solve().
| static std::string& Sundance::LinearSolveDriver::badVectorFilename | ( | ) |  [inline, static] | 
        
Filename for dump of bad vector
Definition at line 80 of file SundanceLinearSolveDriver.hpp.
Referenced by solve().
| static bool& Sundance::LinearSolveDriver::dumpBadMatrix | ( | ) |  [inline, static] | 
        
Whether to dump a matrix upon solve failure
Definition at line 88 of file SundanceLinearSolveDriver.hpp.
Referenced by solve().
| Expr LinearSolveDriver::formSolutionExpr | ( | const Array< Vector< double > > & | solnVector, | |
| const Array< RCP< DiscreteSpace > > & | solutionSpace, | |||
| const Array< Array< string > > & | names, | |||
| int | verb | |||
| ) | const | 
Definition at line 143 of file SundanceLinearSolveDriver.cpp.
References Teuchos::toString().
Referenced by Sundance::LinearProblem::formSolutionExpr(), and solve().
| 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 57 of file SundanceLinearSolveDriver.cpp.
References badMatrixFilename(), badVectorFilename(), dumpBadMatrix(), formSolutionExpr(), Playa::Handle< PointerType >::print(), Playa::Handle< PointerType >::ptr(), Playa::LinearSolver< Scalar >::solve(), Playa::SolveConverged, solveFailureIsFatal(), SUNDANCE_MSG2, and writeIntoSolutionExpr().
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 84 of file SundanceLinearSolveDriver.hpp.
Referenced by solve().
| void LinearSolveDriver::writeIntoSolutionExpr | ( | const Array< Vector< double > > & | solnVector, | |
| Expr | soln, | |||
| int | verb | |||
| ) | const | 
Definition at line 183 of file SundanceLinearSolveDriver.cpp.
References Sundance::setDiscreteFunctionVector(), and Sundance::Expr::size().
Referenced by solve().