22 #ifndef OPM_READDECK_HEADER_INCLUDED
23 #define OPM_READDECK_HEADER_INCLUDED
25 #include <opm/simulators/utils/ParallelCommunication.hpp>
62 setupLogging(
int mpi_rank_,
63 const std::string& deck_filename,
64 const std::string& cmdline_output_dir,
65 const std::string& cmdline_output,
67 const std::string& stdout_log_id);
73 void readDeck(Parallel::Communication comm,
74 const std::string& deckFilename,
75 std::shared_ptr<Deck>& deck,
76 std::shared_ptr<EclipseState>& eclipseState,
77 std::shared_ptr<Schedule>& schedule,
78 std::unique_ptr<UDQState>& udqState,
79 std::unique_ptr<Action::State>& actionState,
80 std::unique_ptr<WellTestState>& wtestState,
81 std::shared_ptr<SummaryConfig>& summaryConfig,
82 std::unique_ptr<ErrorGuard> errorGuard,
83 std::shared_ptr<Python> python,
84 std::unique_ptr<ParseContext> parseContext,
87 const std::optional<int>& outputInterval);
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: BlackoilPhases.hpp:26
FileOutputMode
Definition: readDeck.hpp:49
@ OUTPUT_LOG_ONLY
Output only to log files, no ECLIPSE output.
@ OUTPUT_ALL
Output to all files.
@ OUTPUT_NONE
No file output.
void readDeck(Parallel::Communication comm, const std::string &deckFilename, std::shared_ptr< Deck > &deck, std::shared_ptr< EclipseState > &eclipseState, std::shared_ptr< Schedule > &schedule, std::unique_ptr< UDQState > &udqState, std::unique_ptr< Action::State > &actionState, std::unique_ptr< WellTestState > &wtestState, std::shared_ptr< SummaryConfig > &summaryConfig, std::unique_ptr< ErrorGuard > errorGuard, std::shared_ptr< Python > python, std::unique_ptr< ParseContext > parseContext, bool initFromRestart, bool checkDeck, const std::optional< int > &outputInterval)
Reads the deck and creates all necessary objects if needed.
Definition: readDeck.cpp:424