[io] add capability to restart from a VTK file
Add the TinyXML-2 parser. Add functions in the `Restart` class that read from a given VTK file into a `SolutionVector`. The names of the primary variables in the VTK file are handed over by the problem. Adapt `applyInitialSolution` of the FVProblem such that it invokes the restart functionality if a start time larger than 0 is handed over.
Showing
- dumux/common/fvproblem.hh 11 additions, 3 deletionsdumux/common/fvproblem.hh
- dumux/io/restart.hh 63 additions, 0 deletionsdumux/io/restart.hh
- dumux/io/tinyxml2/tinyxml2.cpp 2826 additions, 0 deletionsdumux/io/tinyxml2/tinyxml2.cpp
- dumux/io/tinyxml2/tinyxml2.h 2249 additions, 0 deletionsdumux/io/tinyxml2/tinyxml2.h
- test/porousmediumflow/2p/implicit/incompressible/problem.hh 8 additions, 0 deletionstest/porousmediumflow/2p/implicit/incompressible/problem.hh
- test/porousmediumflow/2p/implicit/incompressible/test_2p_fv.cc 12 additions, 13 deletions...porousmediumflow/2p/implicit/incompressible/test_2p_fv.cc
Loading
Please register or sign in to comment