NOX
Development
|
Abstract nonlinear solver method interface. More...
#include <NOX_Multiphysics_Solver_Generic.H>
Public Member Functions | |
Generic () | |
Constructor (does nothing) | |
virtual | ~Generic () |
Destructor (does nothing) | |
virtual bool | reset (const Teuchos::RCP< std::vector< Teuchos::RCP< NOX::Solver::Generic > > > &solvers, const Teuchos::RCP< NOX::Multiphysics::DataExchange::Interface > &interface, const Teuchos::RCP< NOX::StatusTest::Generic > &tests, const Teuchos::RCP< Teuchos::ParameterList > ¶ms)=0 |
Reset the nonlinear solver for a new solve. More... | |
virtual void | reset (const NOX::Abstract::Vector &initialGuess)=0 |
reset methods inherited from NOX::Solver::Generic and needed here to avoid hiding this overloaded virtual method | |
virtual void | reset (const NOX::Abstract::Vector &initialGuess, const Teuchos::RCP< NOX::StatusTest::Generic > &tests)=0 |
Resets the solver, sets a new status test, and sets a new initial guess. | |
Public Member Functions inherited from NOX::Solver::Generic | |
Generic () | |
Constructor (does nothing) | |
virtual void | reset ()=0 |
Resets the solver for another solve. This resets the counters and status only. Uses the final solution from the last solve as the initial guess for the next solve. More... | |
virtual NOX::StatusTest::StatusType | step ()=0 |
Do one nonlinear step in the iteration sequence and return status. | |
virtual NOX::StatusTest::StatusType | solve ()=0 |
Solve the nonlinear problem and return final status. More... | |
virtual const NOX::Abstract::Group & | getSolutionGroup () const =0 |
Return a reference to the current solution group. | |
virtual const NOX::Abstract::Group & | getPreviousSolutionGroup () const =0 |
Return a reference to the previous solution group. | |
virtual NOX::StatusTest::StatusType | getStatus () const =0 |
Returns the current status of the solver. | |
virtual int | getNumIterations () const =0 |
Get number of iterations. | |
virtual const Teuchos::ParameterList & | getList () const =0 |
Return a reference to the solver parameters. | |
virtual Teuchos::RCP< const NOX::SolverStats > | getSolverStatistics () const =0 |
Return a RCP to the solver statistics. | |
virtual Teuchos::RCP< const NOX::Abstract::Group > | getSolutionGroupPtr () const =0 |
Return a RCP to the solution group. | |
virtual Teuchos::RCP< const NOX::Abstract::Group > | getPreviousSolutionGroupPtr () const =0 |
Return a RCP to the previous solution group. | |
virtual Teuchos::RCP< const Teuchos::ParameterList > | getListPtr () const =0 |
Return a RCP to the solver parameters. | |
Abstract nonlinear solver method interface.
Defines the type of access methods into the iterative nonlinear solvers.
|
pure virtual |
Reset the nonlinear solver for a new solve.
tests | Status tests to check for convergence or failure. These tests will be modified by the solver. |
params | List of parameters. These parameters will be modified by the solver. |
Implemented in NOX::Multiphysics::Solver::FixedPointBased.