KASKADE 7 development version
|
#include <homotopy_base.hh>
Definition at line 305 of file homotopy_base.hh.
Public Member Functions | |
InteriorPointSlopeEstimate (NewtonsMethod &n_, AbstractNorm const &norm_, InteriorPointParameters &p_, AbstractNewtonDirection &solver_, AbstractNorm const *normPlain_=0, NewtonsMethod *finalsolver_=0) | |
virtual void | initialize () |
Optional overload by derived class. More... | |
virtual void | finalize () |
Optional overload by derived class. More... | |
virtual double | muOnSuccess (int step) |
New mu if corrector was successful. More... | |
virtual double | muOnFailure () |
New mu if corrector failed. More... | |
virtual double | muFinal () |
mu for successful termination More... | |
virtual void | updateModelOfHomotopy (int step) |
update of path parameters, e.g. eta and omega More... | |
virtual void | computePredictor (int step) |
Default: classical predictor. More... | |
virtual void | initializeCorrector () |
what should be done before corrector More... | |
virtual void | finalizeCorrector () |
what should be done after corrector More... | |
virtual void | finalizeHomotopy () |
to be performed, if convergence of path has occured More... | |
virtual void | updateIterate () |
make trial iterate to current iterate (on successful corrector) More... | |
virtual void | recoverIterate () |
make old iterate to current iterate (on failed corrector) More... | |
virtual double | lengthOfPath () |
estimate of length of homopoty path More... | |
virtual void | logQuantities () |
void | printDiagnosis () |
void | solve (AbstractParameterFunctional *f, AbstractFunctionSpaceElement &x) |
void | performTiming (bool doit) |
void | reportOnIteration (int level) |
Protected Member Functions | |
virtual void | finalize (int) |
virtual int | convergenceTest () |
convergence test. returns true if method converged and solution is found. More... | |
virtual void | terminationMessage (int errorFlag) |
output of a termination message More... | |
int | algorithmWrapper () |
Run algorithm, completely with initialization and finalization. More... | |
int | oneStepWrapper () |
Run one step of algorithm. More... | |
Protected Attributes | |
NewtonsMethod & | corrector |
InteriorPointParameters & | p |
AbstractParameterFunctional * | functional |
std::unique_ptr< AbstractFunctionSpaceElement > | trialIterate |
int | step |
int | report |
|
inline |
Definition at line 309 of file homotopy_base.hh.
|
protectedinherited |
Run algorithm, completely with initialization and finalization.
|
inlinevirtual |
Default: classical predictor.
Reimplemented from Kaskade::HomotopyBase.
Definition at line 340 of file homotopy_base.hh.
|
protectedvirtualinherited |
convergence test. returns true if method converged and solution is found.
|
inlinevirtual |
Optional overload by derived class.
Reimplemented from Kaskade::HomotopyBase.
Definition at line 327 of file homotopy_base.hh.
|
inlineprotectedvirtualinherited |
Reimplemented in Kaskade::SimpleAdaptiveRefinement, Kaskade::TestErrorEstimator, and Kaskade::NewtonsMethod.
Definition at line 186 of file algorithm_base.hh.
|
inlinevirtual |
what should be done after corrector
Implements Kaskade::HomotopyBase.
Definition at line 344 of file homotopy_base.hh.
|
virtual |
to be performed, if convergence of path has occured
Reimplemented from Kaskade::HomotopyBase.
|
inlinevirtual |
Optional overload by derived class.
Reimplemented from Kaskade::HomotopyBase.
Definition at line 322 of file homotopy_base.hh.
|
virtual |
what should be done before corrector
Implements Kaskade::HomotopyBase.
|
inlinevirtual |
estimate of length of homopoty path
Implements Kaskade::HomotopyBase.
Definition at line 353 of file homotopy_base.hh.
|
inlinevirtual |
Reimplemented from Kaskade::HomotopyBase.
Definition at line 361 of file homotopy_base.hh.
|
inlinevirtual |
mu for successful termination
Implements Kaskade::HomotopyBase.
Definition at line 336 of file homotopy_base.hh.
|
inlinevirtual |
New mu if corrector failed.
Implements Kaskade::HomotopyBase.
Definition at line 331 of file homotopy_base.hh.
|
virtual |
New mu if corrector was successful.
Implements Kaskade::HomotopyBase.
|
protectedinherited |
Run one step of algorithm.
|
inlineinherited |
Definition at line 181 of file algorithm_base.hh.
void Kaskade::InteriorPointSlopeEstimate::printDiagnosis | ( | ) |
Referenced by logQuantities().
|
inlinevirtual |
make old iterate to current iterate (on failed corrector)
Implements Kaskade::HomotopyBase.
Definition at line 350 of file homotopy_base.hh.
|
inlineinherited |
Definition at line 182 of file algorithm_base.hh.
|
inherited |
|
protectedvirtualinherited |
output of a termination message
Reimplemented from Kaskade::Algorithm.
|
virtual |
make trial iterate to current iterate (on successful corrector)
Implements Kaskade::HomotopyBase.
|
virtual |
update of path parameters, e.g. eta and omega
Implements Kaskade::HomotopyBase.
|
protectedinherited |
Definition at line 155 of file homotopy_base.hh.
Referenced by Kaskade::InteriorPointSqrtModel::finalizeCorrector(), and finalizeCorrector().
|
protectedinherited |
Definition at line 157 of file homotopy_base.hh.
|
protectedinherited |
Definition at line 156 of file homotopy_base.hh.
Referenced by Kaskade::InteriorPointSimple::lengthOfPath(), Kaskade::InteriorPointSqrtModel::lengthOfPath(), lengthOfPath(), Kaskade::InteriorPointSqrtModel::muFinal(), muFinal(), Kaskade::InteriorPointSimple::muOnFailure(), muOnFailure(), and Kaskade::InteriorPointSimple::muOnSuccess().
|
protectedinherited |
Definition at line 193 of file algorithm_base.hh.
Referenced by Kaskade::Algorithm::reportOnIteration().
|
protectedinherited |
Definition at line 160 of file homotopy_base.hh.
|
protectedinherited |
Definition at line 159 of file homotopy_base.hh.
Referenced by Kaskade::InteriorPointSqrtModel::initialize(), initialize(), Kaskade::InteriorPointSqrtModel::recoverIterate(), and recoverIterate().