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 prepareResultOutputDirectory(
const std::string& baseName,
const std::filesystem::path& outputDir);
68 std::unique_ptr<ParseContext> setupParseContext(
const bool exitOnAllErrors);
71 void setupStreamLogging(
const std::string& stdout_log_id);
75 setupLogging(Parallel::Communication& comm,
76 const std::string& deck_filename,
77 const std::string& cmdline_output_dir,
78 const std::string& cmdline_output,
80 const std::string& stdout_log_id,
81 const bool allRanksDbgLog);
87 void readDeck(Parallel::Communication comm,
88 const std::string& deckFilename,
89 std::shared_ptr<EclipseState>& eclipseState,
90 std::shared_ptr<Schedule>& schedule,
91 std::unique_ptr<UDQState>& udqState,
92 std::unique_ptr<Action::State>& actionState,
93 std::unique_ptr<WellTestState>& wtestState,
94 std::shared_ptr<SummaryConfig>& summaryConfig,
95 std::shared_ptr<Python> python,
96 const std::string& parsingStrictness,
97 const std::string& actionParsingStrictness,
98 const std::string& inputSkipMode,
102 const std::optional<int>& outputInterval,
105 void verifyValidCellGeometry(Parallel::Communication comm,
106 const EclipseState& eclipseState);
109 #endif // OPM_READDECK_HEADER_INCLUDED This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: blackoilbioeffectsmodules.hh:45
Output only to log files, no ECLIPSE output.
FileOutputMode
Definition: readDeck.hpp:49
void readDeck(Parallel::Communication comm, const std::string &deckFilename, 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::shared_ptr< Python > python, const std::string &parsingStrictness, const std::string &actionParsingStrictness, const std::string &inputSkipMode, bool initFromRestart, bool checkDeck, bool keepKeywords, const std::optional< int > &outputInterval, bool slaveMode)
Reads the deck and creates all necessary objects if needed.
Definition: readDeck.cpp:686