Commit Graph

8 Commits

Author SHA1 Message Date
Arne Morten Kvarving
3aa62dd98a added: stopping criterion in time stepping
this allows to stop the time stepping based on
some kind of application-defined norm. e.g.
when the norm of increments between timesteps falls
below some threshold
2022-05-20 13:14:35 +02:00
Knut Morten Okstad
7f21c887b7 Fixed: Also check step >= maxStep in TimeStep::finished
Added: Also stop if time < -stopTime if time < 0.
Changed: No need to serialize starTime (it is supposed to be constant).
2018-11-21 07:01:45 +01:00
Knut Morten Okstad
8ed0882073 Added: Solution vector base class with serialization support (for restart) 2018-08-30 14:59:09 +02:00
Knut Morten Okstad
8ba37f8cb7 Added: Specify time from when to start mesh adaptation and dump of LR grid.
Changed: Do not stop the simulation if we reach the end time during the
prediction steps, must check if the mesh needs refinement first.
2017-12-05 21:16:03 +01:00
Arne Morten Kvarving
e7413d0d26 changed: redo restarting support
store restart data separate from visualization data.
this has several advantages:
- no unusual striding in visualization files due to multistep methods
- we can store data which are not on a per-control-point basis
- simplify logic
2017-04-21 23:20:44 +02:00
Knut Morten Okstad
060ac8b2f6 Added: Method TimeStep::reset() and use this when restarting the adaptive loop
a certain number of steps in the past. Just copying the TimeStep instance
won't work if the time history consists of several steps with varying dt.
2016-04-07 10:32:01 +02:00
rho
a6014b9d79 Added possibility to run with variable CFL number, e.g. for iteration to steady state
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2576 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:35 +02:00
kmo
37fbc39299 Refactoring of the NonLinSIM class: Removed nested class SolvePrm
- its parameters are now direct members of NonLinSIM instead. The class
SIMparameters is replaced by the new TimeStep class, which also supports
adjustable increment size and iteration cut-back. The latter is implemented
in the NonlinearDriver class of the FiniteDefElasticity application.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1820 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:43 +02:00