22 #ifndef OPM_ECLIPSE_WRITER_HPP
23 #define OPM_ECLIPSE_WRITER_HPP
30 #include <opm/parser/eclipse/EclipseState/Grid/EclipseGrid.hpp>
31 #include <opm/parser/eclipse/EclipseState/Grid/NNC.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 namespace Opm {
namespace out {
50 namespace Action {
class State; }
65 const std::string& basename =
"",
66 const bool writeEsmry =
false
188 double seconds_elapsed,
190 const bool write_double =
false);
231 RestartValue loadRestart(
Action::State& action_state,
SummaryState& summary_state,
const std::vector<RestartKey>& solution_keys,
const std::vector<RestartKey>& extra_keys = {})
const;
239 std::unique_ptr< Impl > impl;
About cell information and dimension: The actual grid information is held in a pointer to an ERT ecl_...
Definition: EclipseGrid.hpp:55
A class to write the reservoir state and the well state of a blackoil simulation to disk using the Ec...
Definition: EclipseIO.hpp:55
void overwriteInitialOIP(const data::Solution &simProps)
Overwrite the initial OIP values.
void writeInitial(data::Solution simProps=data::Solution(), std::map< std::string, std::vector< int > > int_data={}, const std::vector< NNCdata > &nnc={})
Output static properties in EGRID and INIT file.
void writeTimeStep(const Action::State &action_state, const WellTestState &wtest_state, const SummaryState &st, const UDQState &udq_state, int report_step, bool isSubstep, double seconds_elapsed, RestartValue value, const bool write_double=false)
Write a reservoir state and summary information to disk.
EclipseIO(const EclipseState &es, EclipseGrid grid, const Schedule &schedule, const SummaryConfig &summary_config, const std::string &basename="", const bool writeEsmry=false)
Sets the common attributes required to write eclipse binary files using ERT.
Definition: EclipseState.hpp:55
Definition: RestartValue.hpp:69
Definition: Schedule.hpp:135
Definition: SummaryConfig.hpp:132
Definition: SummaryState.hpp:69
Definition: UDQState.hpp:36
Definition: WellTestState.hpp:62
Definition: Solution.hpp:32
Definition: Summary.hpp:50
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:29