← Back to team overview

dolfin team mailing list archive

ODE: cleanups and new options [...]

 

Commit from logg (2005-11-11 17:49 CET)
----------------

ODE: cleanups and new options

 - Rename class NewMultiAdaptiveJacobian --> UpdatedMultiAdaptiveJacobian

 - New option: "updated jacobian" for using the new updated (exact) Jacobian
   computation. This option gives much better convergence and reduces the
   number of Newton iterations, but GMRES needs to do more work in each iteration
   and the computation is more expensive, so the default is to use the approximate
   Jacobian which is somewhat faster on the test problem.

 - New option: "diagonal newton damping" for diagonally scaled multi-adaptive
   fixed-point iteration. This has only effect for the multi-adaptive solver.
   With this option, the multi-adaptive fixed-point solver can handle some
   stiff problems (including src/demo/solvers/ode/reaction) but adds some
   overhead to non-stiff problems. Will try to make the choice automatic.

  dolfin  src/demo/solvers/ode/reaction/main-fixedpoint.cpp      1.3
  dolfin  src/demo/solvers/ode/reaction/main.cpp                 1.25
  dolfin  src/kernel/fem/FEM.cpp                                 1.39
  dolfin  src/kernel/fem/dolfin/FEM.h                            1.21
  dolfin  src/kernel/ode/Makefile.am                             1.49
  dolfin  src/kernel/ode/Makefile.in                             1.135
  dolfin  src/kernel/ode/MultiAdaptiveFixedPointSolver.cpp       1.20
  dolfin  src/kernel/ode/MultiAdaptiveNewtonSolver.cpp           1.27
  dolfin  src/kernel/ode/MultiAdaptivePreconditioner.cpp         1.10
- dolfin  src/kernel/ode/NewMultiAdaptiveJacobian.cpp            1.2
+ dolfin  src/kernel/ode/UpdatedMultiAdaptiveJacobian.cpp        1.1
  dolfin  src/kernel/ode/dolfin/Makefile.am                      1.43
  dolfin  src/kernel/ode/dolfin/Makefile.in                      1.132
  dolfin  src/kernel/ode/dolfin/MultiAdaptiveFixedPointSolver.h  1.9
  dolfin  src/kernel/ode/dolfin/MultiAdaptiveNewtonSolver.h      1.14
  dolfin  src/kernel/ode/dolfin/MultiAdaptivePreconditioner.h    1.7
  dolfin  src/kernel/ode/dolfin/MultiAdaptiveTimeSlab.h          1.21
- dolfin  src/kernel/ode/dolfin/NewMultiAdaptiveJacobian.h       1.2
+ dolfin  src/kernel/ode/dolfin/UpdatedMultiAdaptiveJacobian.h   1.1
  dolfin  src/kernel/ode/dolfin/dolfin_ode.h                     1.26
  dolfin  src/kernel/settings/dolfin/Settings.h                  1.62