mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-02 05:49:09 -06:00
Prune ForceDisable Parameters From *Log Functions
They aren't really needed in the current sources. We can readd them, or something similar, if the need to turn off these reports from a command line parameter arises. Suggested by: [at]akva2.
This commit is contained in:
parent
ec549df37b
commit
d79bd2848f
@ -226,10 +226,8 @@ EclGenericOutputBlackoilModule<FluidSystem,Scalar>::
|
||||
|
||||
template<class FluidSystem, class Scalar>
|
||||
void EclGenericOutputBlackoilModule<FluidSystem,Scalar>::
|
||||
outputCumLog(std::size_t reportStepNum, bool forceDisableCumOutput)
|
||||
outputCumLog(std::size_t reportStepNum)
|
||||
{
|
||||
if (forceDisableCumOutput) { return; }
|
||||
|
||||
logOutput_.cumulative(reportStepNum,
|
||||
[this](const std::string& name)
|
||||
{ return this->isDefunctParallelWell(name); });
|
||||
@ -237,10 +235,8 @@ outputCumLog(std::size_t reportStepNum, bool forceDisableCumOutput)
|
||||
|
||||
template<class FluidSystem,class Scalar>
|
||||
void EclGenericOutputBlackoilModule<FluidSystem,Scalar>::
|
||||
outputProdLog(std::size_t reportStepNum, bool forceDisableProdOutput)
|
||||
outputProdLog(std::size_t reportStepNum)
|
||||
{
|
||||
if (forceDisableProdOutput) { return; }
|
||||
|
||||
logOutput_.production(reportStepNum,
|
||||
[this](const std::string& name)
|
||||
{ return this->isDefunctParallelWell(name); });
|
||||
@ -248,10 +244,8 @@ outputProdLog(std::size_t reportStepNum, bool forceDisableProdOutput)
|
||||
|
||||
template<class FluidSystem,class Scalar>
|
||||
void EclGenericOutputBlackoilModule<FluidSystem,Scalar>::
|
||||
outputInjLog(std::size_t reportStepNum, bool forceDisableInjOutput)
|
||||
outputInjLog(std::size_t reportStepNum)
|
||||
{
|
||||
if (forceDisableInjOutput) { return; }
|
||||
|
||||
logOutput_.injection(reportStepNum,
|
||||
[this](const std::string& name)
|
||||
{ return this->isDefunctParallelWell(name); });
|
||||
|
@ -62,16 +62,13 @@ public:
|
||||
};
|
||||
|
||||
// write cumulative production and injection reports to output
|
||||
void outputCumLog(std::size_t reportStepNum,
|
||||
bool forceDisableCumOutput);
|
||||
void outputCumLog(std::size_t reportStepNum);
|
||||
|
||||
// write production report to output
|
||||
void outputProdLog(std::size_t reportStepNum,
|
||||
bool forceDisableProdOutput);
|
||||
void outputProdLog(std::size_t reportStepNum);
|
||||
|
||||
// write injection report to output
|
||||
void outputInjLog(std::size_t reportStepNum,
|
||||
bool forceDisableInjOutput);
|
||||
void outputInjLog(std::size_t reportStepNum);
|
||||
|
||||
// write Fluid In Place to output log
|
||||
Inplace outputFipLog(std::map<std::string, double>& miscSummaryData,
|
||||
|
@ -311,13 +311,9 @@ public:
|
||||
if (! isSubStep) {
|
||||
OPM_TIMEBLOCK(outputProdInjLogs);
|
||||
|
||||
const bool forceDisableProdOutput = false;
|
||||
const bool forceDisableInjOutput = false;
|
||||
const bool forceDisableCumOutput = false;
|
||||
|
||||
eclOutputModule_->outputProdLog(reportStepNum, forceDisableProdOutput);
|
||||
eclOutputModule_->outputInjLog(reportStepNum, forceDisableInjOutput);
|
||||
eclOutputModule_->outputCumLog(reportStepNum, forceDisableCumOutput);
|
||||
eclOutputModule_->outputProdLog(reportStepNum);
|
||||
eclOutputModule_->outputInjLog(reportStepNum);
|
||||
eclOutputModule_->outputCumLog(reportStepNum);
|
||||
|
||||
OpmLog::note(""); // Blank line after all reports.
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user