KASKADE 7 development version
|
#include <hyp_ip.hh>
Public Member Functions | |
virtual | ~HypIP () |
HypIP (SearchSpaceCreator &searchSpace_, AbstractScalarProduct &nL, AbstractScalarProduct &nC, AbstractChart &chart_, HypIPParameters &p_, int dimx_, AbstractAdaptiveGrid *grid_=0, AbstractCompositeStepErrorEstimator *errorEstimator_=0) | |
Create Newton's Method, providing a solver, a norm and algorithmic parameters. More... | |
void | solve (AbstractFunctional *fN, AbstractFunctional *fT, AbstractFunctionSpaceElement &x) |
Solve the system f=0 with starting value x. On (successful) exit, the solution is x, otherwise it is left unmodified. More... | |
virtual IterationParameters const & | getParameters () |
void | setDesiredAccuracy (double da) |
set the desired accuracy More... | |
virtual void | setDesiredRelativeAccuracy (double ra) |
set the desired accuracy More... | |
void | resetParameters () |
Reset all algorithmic parameters to their default values. More... | |
int | stepsPerformed () |
int | maxSteps () |
void | performTiming (bool doit) |
void | reportOnIteration (int level) |
Protected Member Functions | |
void | dampingLoop () |
int | refinementLoop () |
virtual AcceptanceTest | evaluateCorrection (AbstractFunctionSpaceElement &correction, AbstractLinearization &lin, CUBThetaModelFunction &mF, double f0, std::vector< double > &coeff) |
virtual Convergence | convergenceTest (AbstractFunctionSpaceElement const &correction, AbstractFunctionSpaceElement const &iterate, std::vector< double > &coeff) |
Return true, if convergence is detected, false otherwise. More... | |
virtual void | updateIterate (AbstractFunctionSpaceElement &iterate, AbstractFunctionSpaceElement &trialIterate, AbstractLinearization const &lin) |
virtual RegularityTest | regularityTest (double scalingFactor) |
void | terminationMessage (int flag) |
virtual void | initialize () |
virtual void | finalize (int) |
int | algorithmWrapper () |
Run algorithm, completely with initialization and finalization. More... | |
int | oneStepWrapper () |
Run one step of algorithm. More... | |
Protected Attributes | |
int | report |
|
inline |
|
protectedinherited |
Run algorithm, completely with initialization and finalization.
|
protectedvirtual |
Return true, if convergence is detected, false otherwise.
|
protected |
|
protectedvirtual |
|
inlineprotectedvirtualinherited |
Reimplemented in Kaskade::SimpleAdaptiveRefinement, Kaskade::TestErrorEstimator, and Kaskade::NewtonsMethod.
Definition at line 186 of file algorithm_base.hh.
|
inlinevirtual |
|
inlineprotectedvirtualinherited |
Reimplemented in Kaskade::SimpleAdaptiveRefinement, Kaskade::TestErrorEstimator, Kaskade::HomotopyBase, Kaskade::InteriorPointSqrtModel, Kaskade::InteriorPointSlopeEstimate, Kaskade::NewtonsMethod, Kaskade::DampedCovariantNewtonMethod, and Kaskade::StateConstraintsNewtonMethod.
Definition at line 185 of file algorithm_base.hh.
|
protectedinherited |
Run one step of algorithm.
|
inlineinherited |
Definition at line 181 of file algorithm_base.hh.
|
protected |
|
inlineprotectedvirtual |
|
inlineinherited |
Definition at line 182 of file algorithm_base.hh.
|
inline |
|
inline |
|
inlinevirtual |
void Kaskade::HypIP::solve | ( | AbstractFunctional * | fN, |
AbstractFunctional * | fT, | ||
AbstractFunctionSpaceElement & | x | ||
) |
Solve the system f=0 with starting value x. On (successful) exit, the solution is x, otherwise it is left unmodified.
|
protectedvirtual |
Reimplemented from Kaskade::Algorithm.
|
inlineprotectedvirtual |
|
protectedinherited |
Definition at line 193 of file algorithm_base.hh.
Referenced by Kaskade::Algorithm::reportOnIteration().