← Back to team overview

dolfin team mailing list archive

ODE: reject time steps [...]

 

Commit from logg (2005-11-01 21:20 CET)
----------------

ODE: reject time steps

 - Check residual at end of time step, reject step if too large
 - Add safety factor to adaptive time step selection. Can be controlled
   by the parameter "safety factor"

Only implemented for mono-adaptive solvers so far. Will fix multi-adaptive
solvers next.

  dolfin  ChangeLog                                      1.248
  dolfin  src/demo/solvers/ode/reaction/checkerror.m     1.2
  dolfin  src/demo/solvers/ode/reaction/main.cpp         1.8
  dolfin  src/demo/solvers/ode/reaction/run-bench.sh     1.2
  dolfin  src/kernel/ode/MonoAdaptiveTimeSlab.cpp        1.26
  dolfin  src/kernel/ode/MonoAdaptivity.cpp              1.6
  dolfin  src/kernel/ode/MultiAdaptiveTimeSlab.cpp       1.35
  dolfin  src/kernel/ode/TimeStepper.cpp                 1.78
  dolfin  src/kernel/ode/dolfin/MonoAdaptiveTimeSlab.h   1.14
  dolfin  src/kernel/ode/dolfin/MonoAdaptivity.h         1.7
  dolfin  src/kernel/ode/dolfin/MultiAdaptiveTimeSlab.h  1.19
  dolfin  src/kernel/ode/dolfin/TimeSlab.h               1.27
  dolfin  src/kernel/settings/dolfin/Settings.h          1.59



Follow ups