#include <Thyra_NonlinearSolver_NOX.hpp>
Public Member Functions | |
Overridden from ParameterListAcceptor | |
| void | setParameterList (RCP< Teuchos::ParameterList > const ¶mList) |
| | |
| RCP< Teuchos::ParameterList > | getNonconstParameterList () |
| | |
| RCP< Teuchos::ParameterList > | unsetParameterList () |
| | |
| RCP< const Teuchos::ParameterList > | getParameterList () const |
| | |
| RCP< const Teuchos::ParameterList > | getValidParameters () const |
| | |
Overridden from NonlinearSolverBase | |
| void | setModel (const RCP< const ModelEvaluator< double > > &model) |
| | |
| RCP< const ModelEvaluator < double > > | getModel () const |
| | |
| SolveStatus< double > | solve (VectorBase< double > *x, const SolveCriteria< double > *solveCriteria, VectorBase< double > *delta) |
| | |
| RCP< const VectorBase< double > > | get_current_x () const |
| | |
| bool | is_W_current () const |
| | |
| RCP< LinearOpWithSolveBase < double > > | get_nonconst_W (const bool forceUpToDate) |
| | |
| RCP< const LinearOpWithSolveBase< double > > | get_W () const |
| | |
Private Member Functions | |
| void | resetSolver () |
| Called to rebuild the solver if a new parameter list is set. | |
| RCP< NOX::StatusTest::Generic > | buildStatusTests (Teuchos::ParameterList &p) |
| Builds status tests - first looks for parameter list to use, otherwise builds a default set of status tests. | |
Private Attributes | |
| RCP< Teuchos::ParameterList > | param_list_ |
| RCP< Teuchos::ParameterList > | valid_param_list_ |
|
RCP< const ModelEvaluator < double > > | model_ |
| RCP< NOX::Thyra::Group > | nox_group_ |
| RCP< NOX::StatusTest::Generic > | status_test_ |
| RCP< NOX::Solver::Generic > | solver_ |
This class implemets a NOX nonlinear solver of type <double>.
Definition at line 30 of file Thyra_NonlinearSolver_NOX.hpp.
| void Thyra::NOXNonlinearSolver::setParameterList | ( | RCP< Teuchos::ParameterList > const & | paramList | ) |
| Teuchos::RCP< Teuchos::ParameterList > Thyra::NOXNonlinearSolver::getNonconstParameterList | ( | ) |
| Teuchos::RCP< Teuchos::ParameterList > Thyra::NOXNonlinearSolver::unsetParameterList | ( | ) |
| Teuchos::RCP< const Teuchos::ParameterList > Thyra::NOXNonlinearSolver::getParameterList | ( | ) | const |
| Teuchos::RCP< const Teuchos::ParameterList > Thyra::NOXNonlinearSolver::getValidParameters | ( | ) | const |
| void Thyra::NOXNonlinearSolver::setModel | ( | const RCP< const ModelEvaluator< double > > & | model | ) |
| Teuchos::RCP< const Thyra::ModelEvaluator< double > > Thyra::NOXNonlinearSolver::getModel | ( | ) | const |
| Thyra::SolveStatus< double > Thyra::NOXNonlinearSolver::solve | ( | VectorBase< double > * | x, | |
| const SolveCriteria< double > * | solveCriteria, | |||
| VectorBase< double > * | delta | |||
| ) |
Definition at line 86 of file Thyra_NonlinearSolver_NOX.cpp.
References buildStatusTests(), NOX::StatusTest::Converged, NOX::StatusTest::Failed, NOX::Thyra::Vector::getThyraVector(), NOX::Abstract::Group::getX(), and NOX::StatusTest::Unconverged.
| Teuchos::RCP< const Thyra::VectorBase< double > > Thyra::NOXNonlinearSolver::get_current_x | ( | ) | const |
| bool Thyra::NOXNonlinearSolver::is_W_current | ( | ) | const |
| Teuchos::RCP< Thyra::LinearOpWithSolveBase< double > > Thyra::NOXNonlinearSolver::get_nonconst_W | ( | const bool | forceUpToDate | ) |
| Teuchos::RCP< const Thyra::LinearOpWithSolveBase< double > > Thyra::NOXNonlinearSolver::get_W | ( | ) | const |
| void Thyra::NOXNonlinearSolver::resetSolver | ( | ) | [private] |
Called to rebuild the solver if a new parameter list is set.
Definition at line 214 of file Thyra_NonlinearSolver_NOX.cpp.
| Teuchos::RCP< NOX::StatusTest::Generic > Thyra::NOXNonlinearSolver::buildStatusTests | ( | Teuchos::ParameterList & | p | ) | [private] |
Builds status tests - first looks for parameter list to use, otherwise builds a default set of status tests.
Definition at line 177 of file Thyra_NonlinearSolver_NOX.cpp.
References NOX::StatusTest::Combo::AND, and NOX::StatusTest::Combo::OR.
Referenced by solve().
1.5.9