OOF2: The Manual

Name

Uniform (BasicUniformDriver) — Take fixed, uniform time steps.

Synopsis

BasicUniformDriver(stepsize)

Details

  • Base class: BasicStepDriver
  • Parameters:

    stepsize
    Time step size. Type: A positive real number.

Description

Using BasicUniformDriver as the time_stepper in BasicSolverMode tells OOF2 to solve a time dependent problem using uniform stepping, in which all time steps are the same size.

Uniform stepping requires less computation per step than adaptive stepping, but can be either much less accurate (if the step size is too large) or much less efficient (if the step size is too small).

BasicAdaptiveDriver automatically uses the SS22 method with theta1=theta2=0.5 if the equations contain second order time derivatives. It uses CrankNicolson otherwise.