#include <Thyra_NonlinearSolverBase.hpp>
Inheritance diagram for Thyra::NonlinearSolverBase< Scalar >:
Pure virtual functions that must be overridden in subclasses | |
| virtual void | setModel (const Teuchos::RefCountPtr< const ModelEvaluator< Scalar > > &model)=0 |
| Set the model that defines the nonlinear equations. | |
| virtual Teuchos::RefCountPtr< const ModelEvaluator< Scalar > > | getModel () const =0 |
| Get the model that defines the nonlinear equations. | |
| virtual SolveStatus< Scalar > | solve (VectorBase< Scalar > *x, const SolveCriteria< Scalar > *solveCriteria=NULL, VectorBase< Scalar > *delta=NULL)=0 |
| Solve a set of nonlinear equations from a given starting point. | |
Virtual functions with default implementation | |
| virtual Teuchos::RefCountPtr< const VectorBase< Scalar > > | get_current_x () const |
Return the current value of the solution x as computed in the last solve() operation if supported. | |
| virtual bool | is_W_current () const |
Returns true if *get_W() is current with respect to *get_current_x(). | |
| virtual Teuchos::RefCountPtr< LinearOpWithSolveBase< Scalar > > | get_nonconst_W () |
| Get the Jacobian if available. | |
| virtual Teuchos::RefCountPtr< const LinearOpWithSolveBase< Scalar > > | get_W () const |
| Get the Jacobian if available. | |
| virtual void | set_W_is_current (bool W_is_current) |
Set if *get_W() is current with respect to *get_current_x(). | |
Warning! This interface is highly experimental and general developers should not even consider using it in any way if there is any expectation of code stability!
ToDo: Finish documentation.
ToDo:
Definition at line 57 of file Thyra_NonlinearSolverBase.hpp.
|
||||||||||
|
Set the model that defines the nonlinear equations.
After the model is set, only the residual |
|
|||||||||
|
Get the model that defines the nonlinear equations.
|
|
||||||||||||||||||||
|
Solve a set of nonlinear equations from a given starting point.
|
|
|||||||||
|
Return the current value of the solution
The default implementation returns Definition at line 155 of file Thyra_NonlinearSolverBase.hpp. |
|
|||||||||
|
Returns
The default implementation returns Definition at line 161 of file Thyra_NonlinearSolverBase.hpp. |
|
|||||||||
|
Get the Jacobian if available.
The default implementation returns Definition at line 168 of file Thyra_NonlinearSolverBase.hpp. |
|
|||||||||
|
Get the Jacobian if available.
The default implementation returns Definition at line 175 of file Thyra_NonlinearSolverBase.hpp. |
|
||||||||||
|
Set if
Preconditions: The default implementation throwns an exception. Definition at line 181 of file Thyra_NonlinearSolverBase.hpp. |
1.3.9.1