mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-24 23:36:50 -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 "RigFlowDiagInterfaceTools.h"
|
||||||
#include "opm/flowdiagnostics/DerivedQuantities.hpp"
|
#include "opm/flowdiagnostics/DerivedQuantities.hpp"
|
||||||
|
|
||||||
|
#include "opm/utility/ECLPropertyUnitConversion.hpp"
|
||||||
#include "opm/utility/ECLSaturationFunc.hpp"
|
#include "opm/utility/ECLSaturationFunc.hpp"
|
||||||
#include "opm/utility/ECLPvtCurveCollection.hpp"
|
#include "opm/utility/ECLPvtCurveCollection.hpp"
|
||||||
|
|
||||||
@ -134,6 +135,10 @@ public:
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
m_eclPvtCurveCollection.reset(new Opm::ECLPVT::ECLPvtCurveCollection(*m_eclGraph, initData));
|
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 (...)
|
catch (...)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user