KASKADE 7 development version
|
#include <composite_step.hh>
Definition at line 233 of file composite_step.hh.
Public Member Functions | |
virtual | ~CompositeStep () |
CompositeStep (NormalStep &normalStep_, TangentialStep &tangentialStep_, AbstractNorm &n, IterationParameters &p_) | |
Create Newton's Method, providing a solver, a norm and algorithmic parameters. More... | |
void | solve (AbstractFunctional *f, 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 | |
virtual NewtonsMethod::AcceptanceTest | evaluateTrialIterate (AbstractFunctionSpaceElement const &trialIterate, AbstractFunctionSpaceElement const &correction, AbstractLinearization const &lin) |
virtual NewtonsMethod::Convergence | convergenceTest (AbstractFunctionSpaceElement const &correction, AbstractFunctionSpaceElement const &iterate) |
Return true, if convergence is detected, false otherwise. More... | |
virtual void | updateIterate (AbstractFunctionSpaceElement &iterate, AbstractFunctionSpaceElement &trialIterate, AbstractLinearization const &lin) |
virtual NewtonsMethod::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 |
|
inlinevirtual |
Definition at line 237 of file composite_step.hh.
|
inline |
Create Newton's Method, providing a solver, a norm and algorithmic parameters.
Definition at line 240 of file composite_step.hh.
|
protectedinherited |
Run algorithm, completely with initialization and finalization.
|
protectedvirtual |
Return true, if convergence is detected, false otherwise.
|
inlineprotectedvirtual |
Definition at line 257 of file composite_step.hh.
|
inlineprotectedvirtualinherited |
Reimplemented in Kaskade::SimpleAdaptiveRefinement, Kaskade::TestErrorEstimator, and Kaskade::NewtonsMethod.
Definition at line 186 of file algorithm_base.hh.
|
inlinevirtual |
Definition at line 246 of file composite_step.hh.
|
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.
|
inline |
Definition at line 255 of file composite_step.hh.
|
protectedinherited |
Run one step of algorithm.
|
inlineinherited |
Definition at line 181 of file algorithm_base.hh.
|
inlineprotectedvirtual |
Definition at line 274 of file composite_step.hh.
|
inlineinherited |
Definition at line 182 of file algorithm_base.hh.
|
inline |
Reset all algorithmic parameters to their default values.
Definition at line 252 of file composite_step.hh.
|
inline |
set the desired accuracy
Definition at line 248 of file composite_step.hh.
|
inlinevirtual |
set the desired accuracy
Definition at line 250 of file composite_step.hh.
void Kaskade::CompositeStep::solve | ( | AbstractFunctional * | f, |
AbstractFunctionSpaceElement & | x | ||
) |
Solve the system f=0 with starting value x. On (successful) exit, the solution is x, otherwise it is left unmodified.
|
inline |
Definition at line 254 of file composite_step.hh.
|
protectedvirtual |
Reimplemented from Kaskade::Algorithm.
|
inlineprotectedvirtual |
Definition at line 266 of file composite_step.hh.
|
protectedinherited |
Definition at line 193 of file algorithm_base.hh.
Referenced by Kaskade::Algorithm::reportOnIteration().