#include <LOCA_Predictor_Random.H>
Inheritance diagram for LOCA::Predictor::Random:
Public Member Functions | |
| Random (NOX::Parameter::List ¶ms) | |
| Constructor. | |
| virtual | ~Random () |
| Destructor. | |
| virtual NOX::Abstract::Group::ReturnType | reset (NOX::Parameter::List ¶ms) |
| Reset parameters. | |
| virtual NOX::Abstract::Group::ReturnType | compute (bool baseOnSecant, double stepSize, LOCA::Continuation::ExtendedGroup &prevGroup, LOCA::Continuation::ExtendedGroup &curGroup, LOCA::Continuation::ExtendedVector &result) |
| Computes the random predictor. | |
| virtual NOX::Abstract::Group::ReturnType | compute (bool baseOnSecant, const vector< double > &stepSize, LOCA::MultiContinuation::ExtendedGroup &grp, LOCA::MultiContinuation::ExtendedMultiVector &prevXMultiVec, LOCA::MultiContinuation::ExtendedMultiVector &xMultiVec, LOCA::MultiContinuation::ExtendedMultiVector &result) |
| Computes the random predictor. | |
Protected Attributes | |
| double | epsilon |
| Size of random value. | |
This class computes the predictor direction where the solution component is filled with random values and the parameter component equal to 1. Each componenet of the solution vector
of the predictor is given by
where
is a random value between -1 and 1,
is the corresponding component of the solution vector, and
is a parameter.
The parameters used by this class supplied in the constructor or reset method are:
as defined above (Default 1.0e-3)
|
|
Reset parameters.
The only parameter for the random predictor is Reimplemented from LOCA::Predictor::Generic. |
1.3.9.1