Class Timestepper

Inheritance Relationships

Derived Type

Class Documentation

class Timestepper

Decides whether to accept a completed time window and selects the next step.

Subclassed by pcms::FixedTimestepper

Public Functions

virtual Real InitialStep() const = 0
Returns:

The positive step size used for the first coupling window.

virtual Step UpdateStep(Real dt, Real err) = 0

Decide whether to accept a completed time window and pick the next step.

Parameters:
  • dt – The time step that was actually completed.

  • err – Normalized error of the completed step.

Returns:

Whether the step is accepted and the positive step size to try next.

virtual ~Timestepper() = default