Simplified using fmt::format()

Simplified debug output formatting by using fmt::format(). Also switched
off glift debug output by default.
This commit is contained in:
Håkon Hægland
2020-10-01 18:27:57 +02:00
parent a01ae8a64c
commit 52f6f819ee
6 changed files with 65 additions and 101 deletions

View File

@@ -306,7 +306,7 @@ namespace Opm {
std::vector<double> depth_;
bool initial_step_;
bool report_step_starts_;
bool glift_debug = true;
bool glift_debug = false;
std::unique_ptr<RateConverterType> rateConverter_;
std::unique_ptr<VFPProperties<VFPInjProperties,VFPProdProperties>> vfp_properties_;
@@ -331,10 +331,6 @@ namespace Opm {
const std::string &msg,
Opm::DeferredLogger& deferred_logger) const;
void gliftDebug(
std::ostringstream &ss,
Opm::DeferredLogger& deferred_logger) const;
// compute the well fluxes and assemble them in to the reservoir equations as source terms
// and in the well equations.
void assemble(const int iterationIdx,