23 #ifndef RESTART_IO_HPP
24 #define RESTART_IO_HPP
29 #include <opm/parser/eclipse/Units/UnitSystem.hpp>
30 #include <opm/parser/eclipse/EclipseState/Runspec.hpp>
31 #include <opm/parser/eclipse/EclipseState/Schedule/Well.hpp>
33 #include <opm/output/data/Cells.hpp>
34 #include <opm/output/data/Solution.hpp>
35 #include <opm/output/data/Wells.hpp>
36 #include <opm/output/eclipse/RestartValue.hpp>
38 #include <ert/ecl/EclKW.hpp>
39 #include <ert/ecl/ecl_rsthead.h>
40 #include <ert/ecl/ecl_rst_file.h>
41 #include <ert/util/util.h>
75 void save(
const std::string& filename,
77 double seconds_elapsed,
80 const EclipseState& es,
81 const EclipseGrid& grid,
82 std::map<std::string, std::vector<double>> extra_data = {},
83 bool write_double =
false);
86 RestartValue load(
const std::string& filename,
88 const std::map<std::string, RestartKey>& keys,
89 const EclipseState& es,
90 const EclipseGrid& grid,
91 const std::map<std::string, bool>& extra_keys = {});