Go to the documentation of this file.
22#ifndef LOG_OUTPUT_HELPER_HPP
23#define LOG_OUTPUT_HELPER_HPP
25#include <opm/output/eclipse/Inplace.hpp>
29#include <unordered_map>
31#include <boost/date_time.hpp>
45 const Schedule& schedule,
46 const SummaryState& st,
53 void error( const std::vector<int>& failedCellsPbub,
54 const std::vector<int>& failedCellsPdew) const;
57 void fip( const Inplace& inplace,
58 const Inplace& initialInplace,
59 const std::string& name) const;
62 void fipResv( const Inplace& inplace, const std::string& name) const;
65 void injection( const std::size_t reportStepNum) const;
70 void timeStamp( const std::string& lbl, double elapsed, int rstep, boost::posix_time::ptime currentDate) const;
73 void beginCumulativeReport_() const;
74 void endCumulativeReport_() const;
75 void outputCumulativeReportRecord_( const std::vector<Scalar>& wellCum,
76 const std::vector<std::string>& wellCumNames) const;
78 void outputRegionFluidInPlace_(std::unordered_map<Inplace::Phase, Scalar> oip,
79 std::unordered_map<Inplace::Phase, Scalar> cip,
81 const std::string& name,
84 void outputResvFluidInPlace_(std::unordered_map<Inplace::Phase, Scalar> cipr,
87 void beginInjectionReport_() const;
88 void endInjectionReport_() const;
89 void outputInjectionReportRecord_( const std::vector<Scalar>& wellInj,
90 const std::vector<std::string>& wellInjNames) const;
92 void beginProductionReport_() const;
93 void endProductionReport_() const;
94 void outputProductionReportRecord_( const std::vector<Scalar>& wellProd,
95 const std::vector<std::string>& wellProdNames) const;
97 void fipUnitConvert_(std::unordered_map<Inplace::Phase, Scalar>& fip) const;
98 void pressureUnitConvert_(Scalar& pav) const;
100 struct WellCumDataType
118 static constexpr int numWCValues = 10;
119 static constexpr int numWCNames = 3;
122 struct WellInjDataType
140 static constexpr int numWIValues = 9;
141 static constexpr int numWINames = 4;
144 struct WellProdDataType
164 static constexpr int numWPValues = 12;
165 static constexpr int numWPNames = 2;
168 const EclipseState& eclState_;
169 const Schedule& schedule_;
170 const SummaryState& summaryState_;
171 std::string flowVersionName_;
Definition: LogOutputHelper.hpp:42
void timeStamp(const std::string &lbl, double elapsed, int rstep, boost::posix_time::ptime currentDate) const
void error(const std::vector< int > &failedCellsPbub, const std::vector< int > &failedCellsPdew) const Write error report to output.
void fip(const Inplace &inplace, const Inplace &initialInplace, const std::string &name) const Write fluid-in-place reports to output.
void cumulative(const std::size_t reportStepNum) const Write cumulative production and injection reports to output.
void production(const std::size_t reportStepNum) const Write production report to output.
void fipResv(const Inplace &inplace, const std::string &name) const Write fluid-in-place reservoir reports to output.
LogOutputHelper(const EclipseState &eclState, const Schedule &schedule, const SummaryState &st, const std::string &moduleVersionName)
void injection(const std::size_t reportStepNum) const Write injection report to output.
Definition: blackoilboundaryratevector.hh:37
std::string moduleVersionName()
|