mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-09 23:53:04 -06:00
First attempt at using unit conversion when getting PVT curve data (commented out due to crash)
This commit is contained in:
parent
149ebbf7b9
commit
9e3868d6d8
@ -30,6 +30,7 @@
|
||||
#include "RigFlowDiagInterfaceTools.h"
|
||||
#include "opm/flowdiagnostics/DerivedQuantities.hpp"
|
||||
|
||||
#include "opm/utility/ECLPropertyUnitConversion.hpp"
|
||||
#include "opm/utility/ECLSaturationFunc.hpp"
|
||||
#include "opm/utility/ECLPvtCurveCollection.hpp"
|
||||
|
||||
@ -134,6 +135,10 @@ public:
|
||||
try
|
||||
{
|
||||
m_eclPvtCurveCollection.reset(new Opm::ECLPVT::ECLPvtCurveCollection(*m_eclGraph, initData));
|
||||
|
||||
// Tried to set output units, but currently causes crashes when getting PVT curve data
|
||||
//m_eclPvtCurveCollection->setOutputUnits(Opm::ECLUnits::metricUnitConventions());
|
||||
//m_eclPvtCurveCollection->setOutputUnits(Opm::ECLUnits::fieldUnitConventions());
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user