ug4
|
#include <line_search.h>
Public Types | |
typedef TVector | vector_type |
Public Member Functions | |
virtual std::string | config_string () const =0 |
returns information about configuration parameters More... | |
virtual bool | search (SmartPtr< IOperator< vector_type > > spOp, vector_type &u, vector_type &p, vector_type &d, number defect)=0 |
virtual void | set_offset (std::string offset)=0 |
set string to be printed before each output of line search More... | |
virtual | ~ILineSearch () |
virtual destructor More... | |
LineSearch
This is the base class for a line search object. An instance is passed to a newton solver to control the line search.
typedef TVector ug::ILineSearch< TVector >::vector_type |
|
inlinevirtual |
virtual destructor
|
pure virtual |
returns information about configuration parameters
this should return necessary information about parameters and possibly calling config_string of subcomponents.
Implemented in ug::StandardLineSearch< TVector >.
|
pure virtual |
Performs a line search to a given direction.
[in] | Op | Non-linear operator |
[in] | u | current solution |
[in] | p | search direction |
[in,out] | d | defect |
[in] | defect | norm of current defect |
Implemented in ug::StandardLineSearch< TVector >.
|
pure virtual |
set string to be printed before each output of line search
Implemented in ug::StandardLineSearch< TVector >.