22#ifndef OPM_READDECK_HEADER_INCLUDED
23#define OPM_READDECK_HEADER_INCLUDED
25#include <opm/simulators/utils/ParallelCommunication.hpp>
62ensureOutputDirExists(
const std::string& cmdline_output_dir);
66prepareResultOutputDirectory(
const std::string& baseName,
const std::filesystem::path& outputDir);
68std::unique_ptr<ParseContext> setupParseContext(
const bool exitOnAllErrors);
71void setupStreamLogging(
const std::string& stdout_log_id);
75setupLogging(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);
87void 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);
104void verifyValidCellGeometry(Parallel::Communication comm,
105 const EclipseState& eclipseState);
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37
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)
Reads the deck and creates all necessary objects if needed.
Definition readDeck.cpp:527
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.