Class FixedTimestepper

Inheritance Relationships

Base Type

Class Documentation

class FixedTimestepper : public pcms::Timestepper

Always accepts and keeps a constant time step.

Public Functions

explicit FixedTimestepper(Real dt)
Parameters:

dt – Positive step size used for every window.

virtual Real InitialStep() const override
Returns:

The configured fixed step.

virtual Step UpdateStep(Real dt, Real err) override

Ignores dt and err; always accepts and returns the fixed step.