OOF2: The Manual

Name

Geometric (Geometric) — Increase timestep by a fixed factor on each step.

Synopsis

Geometric(timestep,factor)

Details

  • Base class: Schedule
  • Parameters:

    timestep
    Initial timestep. Type: A real number.
    factor
    Factor by which to increase the timestep on each step. Type: A real number.

Description

A Scheduled Output with a Schedule set to Geometric will be performed at time intervals that grow by a constant factor at each step. If the associated ScheduleType is RelativeOutputSchedule, the output times will be offset by the starting time of the computation. The first interval will be timestep, the second will be factor times larger.

If factor is less than 1.0 and the end time of the time evolution is too large, the computation may take a very long time to complete.

There's a bug (feature?) in the implementation of this class that may produce surprising results when continuing a time evolution. If the end time of the calculation does not coincide with a scheduled output time, the next output time will be skipped. For example, with factor=2 and timestep=0.1, the output times are 0.1, 0.3, 0.7, 1.5, etc. If the end time is 1, the actual output times will be 0.1, 0.3, 0.7, and 1.0. If the solution is continued, the next time will be 3.1, skipping 1.5.