Template Class AdaptiveStep

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Class Documentation

template<typename RealT>
class AdaptiveStep : public AnalysisManager::NativeDynamicSolver::StepController<RealT>

A simple textbook adaptive StepController which seeks to meet a relative and absolute tolerance based on an error estimate.

Public Functions

virtual StepControl<RealT> nextStep(RealT err, StepControl<RealT> prev_step, uint8_t method_order) final

Decide the control flow for the next step, based on information gathered by the integrator about the current step.

Parameters:
  • err – The estimated error made by the current step. Only calculated if usesError() returns true, otherwise it is assumed this value is not used.

  • prev_step – The control flow from before the current step was taken. Can be used to accurately update the step size.

  • method_order – The order of the method being used.

Returns:

StepControl

inline virtual constexpr bool usesError() const final

This controller uses error estimates.

See also

nextStep()