← Back to team overview

dolfin team mailing list archive

ODE: Make ODE::timestep() time-dependent [...]

 

Commit from logg (2005-11-09 21:17 CET)
----------------

ODE: Make ODE::timestep() time-dependent

User-defined time-dependent predescribed time step sequences are now
allowed. To define the time step sequence, set the option

    "fixed time step" = true

and overload ODE::timestep().

Works both for mono- and multi-adaptive solvers.

Also disabled mechanism for selecting large time steps as integer
multiples of small time steps.

  dolfin  src/demo/solvers/ode/reaction/main.cpp        1.20
  dolfin  src/demo/solvers/ode/wave/main.cpp            1.22
  dolfin  src/kernel/ode/MonoAdaptiveTimeSlab.cpp       1.29
  dolfin  src/kernel/ode/MonoAdaptivity.cpp             1.18
  dolfin  src/kernel/ode/MultiAdaptiveNewtonSolver.cpp  1.24
  dolfin  src/kernel/ode/MultiAdaptiveTimeSlab.cpp      1.42
  dolfin  src/kernel/ode/MultiAdaptivity.cpp            1.16
  dolfin  src/kernel/ode/ODE.cpp                        1.42
  dolfin  src/kernel/ode/Partition.cpp                  1.22
  dolfin  src/kernel/ode/dolfin/MonoAdaptivity.h        1.12
  dolfin  src/kernel/ode/dolfin/MultiAdaptivity.h       1.14
  dolfin  src/kernel/ode/dolfin/ODE.h                   1.43