Pass ouput interval overeride to Schedule constructor

This commit is contained in:
Joakim Hove
2021-03-08 17:17:09 +01:00
parent 9597a4be37
commit ec344d555d
4 changed files with 16 additions and 11 deletions

View File

@@ -34,6 +34,7 @@
#include <opm/parser/eclipse/EclipseState/Schedule/MessageLimits.hpp>
#include <memory>
#include <optional>
#include <string>
namespace Opm
@@ -56,7 +57,7 @@ FileOutputMode setupLogging(int mpi_rank_, const std::string& deck_filename, con
void readDeck(int rank, std::string& deckFilename, std::unique_ptr<Opm::Deck>& deck, std::unique_ptr<Opm::EclipseState>& eclipseState,
std::unique_ptr<Opm::Schedule>& schedule, std::unique_ptr<Opm::SummaryConfig>& summaryConfig,
std::unique_ptr<ErrorGuard> errorGuard, std::shared_ptr<Opm::Python>& python, std::unique_ptr<ParseContext> parseContext,
bool initFromRestart, bool checkDeck);
bool initFromRestart, bool checkDeck, const std::optional<int>& outputInterval);
} // end namespace Opm
#endif // OPM_READDECK_HEADER_INCLUDED