#include <NOX_Direction_Generic.H>
Inheritance diagram for NOX::Direction::Generic:
Public Member Functions | |
| Generic () | |
| Constructor. | |
| virtual | ~Generic () |
| Destructor. | |
| virtual bool | reset (NOX::Parameter::List ¶ms)=0 |
| Reset direction based on possibly new parameters. | |
| virtual bool | compute (NOX::Abstract::Vector &dir, NOX::Abstract::Group &grp, const NOX::Solver::Generic &solver)=0 |
Compute the direction vector, dir, for a specific method given the current group, grp. | |
| virtual bool | compute (NOX::Abstract::Vector &dir, NOX::Abstract::Group &grp, const NOX::Solver::LineSearchBased &solver) |
| Same as compute(NOX::Abstract::Vector&, NOX::Abstract::Group&, const NOX::Solver::Generic&). | |
Generic interface for calculating a search direction,
, to be used in updating the iterate.
|
|
Constructor. Constructors of derived objects should look like reset(). |
|
||||||||||||||||
|
Same as compute(NOX::Abstract::Vector&, NOX::Abstract::Group&, const NOX::Solver::Generic&). Enables direct support for line search based solvers for the purpose of efficiency since the LineSearchBased object has a getStep() function that some directions require. If it is not redefined in the derived class, it will just call the compute with the NOX::Solver::Generic argument. Reimplemented in NOX::Direction::Manager, NOX::Direction::Newton, and NOX::Direction::SteepestDescent. |
|
||||||||||||||||
|
Compute the direction vector,
The Const access to the solver is used for getting additional information such as the past solution, the iteration number, and so on. Implemented in NOX::Direction::Manager, NOX::Direction::Newton, and NOX::Direction::SteepestDescent. |
1.3.9.1