NOX Development
|
Utility class for NOX::Direction::Broyden::BroydenMemory. More...
#include <NOX_Direction_Broyden.H>
Public Member Functions | |
BroydenMemoryUnit () | |
Constructor. | |
~BroydenMemoryUnit () | |
Destuctor. | |
void | reset (const NOX::Abstract::Vector &d) |
Reset this memory unit with a new update vector. | |
void | setStep (double step_length) |
Update the step length. | |
Teuchos::RCP< const NOX::Abstract::Vector > | sPtr () const |
Get pointer to ![]() | |
double | step () const |
Get the step, ![]() | |
double | sNormSqr () const |
Get ![]() | |
Utility class for NOX::Direction::Broyden::BroydenMemory.
Stores an
Throughout the docuementation of this class, we make the following associations.
NOX::Direction::Broyden::BroydenMemoryUnit::BroydenMemoryUnit | ( | ) |
Constructor.
Sets sptr to NULL, and lambda and snormsqr to zero.
NOX::Direction::Broyden::BroydenMemoryUnit::~BroydenMemoryUnit | ( | ) |
Destuctor.
Deletes sptr.
void NOX::Direction::Broyden::BroydenMemoryUnit::reset | ( | const NOX::Abstract::Vector & | d | ) |
Reset this memory unit with a new update vector.
Let the vector
References NOX::Abstract::Vector::clone(), NOX::DeepCopy, and NOX::Abstract::Vector::norm().
void NOX::Direction::Broyden::BroydenMemoryUnit::setStep | ( | double | step_length | ) |
Update the step length.
Set