22 #ifndef OPM_READDECK_HEADER_INCLUDED
23 #define OPM_READDECK_HEADER_INCLUDED
25 #include <opm/simulators/utils/ParallelCommunication.hpp>
62 ensureOutputDirExists(
const std::string& cmdline_output_dir);
66 setupLogging(
int mpi_rank_,
67 const std::string& deck_filename,
68 const std::string& cmdline_output_dir,
69 const std::string& cmdline_output,
71 const std::string& stdout_log_id,
72 const bool allRanksDbgLog);
78 void readDeck(Parallel::Communication comm,
79 const std::string& deckFilename,
80 std::shared_ptr<Deck>& deck,
81 std::shared_ptr<EclipseState>& eclipseState,
82 std::shared_ptr<Schedule>& schedule,
83 std::unique_ptr<UDQState>& udqState,
84 std::unique_ptr<Action::State>& actionState,
85 std::unique_ptr<WellTestState>& wtestState,
86 std::shared_ptr<SummaryConfig>& summaryConfig,
87 std::unique_ptr<ErrorGuard> errorGuard,
88 std::shared_ptr<Python> python,
89 std::unique_ptr<ParseContext> parseContext,
92 const std::optional<int>& outputInterval);
94 void verifyValidCellGeometry(Parallel::Communication comm,
95 const EclipseState& eclipseState);
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: BlackoilPhases.hpp:27
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:481