[restart] fix restart functionality for an adaptive grid from dune-alugrid
This solves FS#237, see further details there. The solution is to be aware of a restart already in the GridCreator. Then, it is possible to construct the grid there that will be used for the restarted simulation. This requires that the parameter Problem.Name is set in the input file in order to deduct the correct restart file names. Reviewed and improved by Timo. git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@15336 2fb0f335-1f38-0410-981e-8018bf24f1b0
Showing
- dumux/decoupled/common/impetproblem.hh 4 additions, 4 deletionsdumux/decoupled/common/impetproblem.hh
- dumux/decoupled/common/onemodelproblem.hh 2 additions, 2 deletionsdumux/decoupled/common/onemodelproblem.hh
- dumux/io/adaptivegridrestart.hh 33 additions, 59 deletionsdumux/io/adaptivegridrestart.hh
- dumux/io/gridcreator.hh 36 additions, 1 deletiondumux/io/gridcreator.hh
- dumux/multidomain/common/multidomainproblem.hh 1 addition, 1 deletiondumux/multidomain/common/multidomainproblem.hh
- test/decoupled/2p/CMakeLists.txt 10 additions, 1 deletiontest/decoupled/2p/CMakeLists.txt
- test/decoupled/2p/test_impesadaptive.cc 3 additions, 1 deletiontest/decoupled/2p/test_impesadaptive.cc
- test/decoupled/2p/test_impesadaptive.input 3 additions, 0 deletionstest/decoupled/2p/test_impesadaptive.input
- test/decoupled/2p/test_impesadaptiveproblem.hh 19 additions, 3 deletionstest/decoupled/2p/test_impesadaptiveproblem.hh
- test/decoupled/2p/test_impesadaptiverestart.cc 73 additions, 0 deletionstest/decoupled/2p/test_impesadaptiverestart.cc
- test/decoupled/2p/test_impesadaptiverestart.input 20 additions, 0 deletionstest/decoupled/2p/test_impesadaptiverestart.input
Loading
Please register or sign in to comment