mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Code clean up
This commit is contained in:
parent
9b54c26c4b
commit
234c9f8cb7
@ -94,7 +94,6 @@ int RimWellLogRftCurve::currentTimeStep() const
|
||||
void RimWellLogRftCurve::setEclipseResultCase(RimEclipseResultCase* eclipseResultCase)
|
||||
{
|
||||
m_eclipseResultCase = eclipseResultCase;
|
||||
//clearGeneratedSimWellPaths();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@ -206,7 +205,7 @@ RifReaderEclipseRft* RimWellLogRftCurve::rftReader() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::vector<double> RimWellLogRftCurve::xValues()
|
||||
std::vector<double> RimWellLogRftCurve::xValues() const
|
||||
{
|
||||
RifReaderEclipseRft* reader = rftReader();
|
||||
std::vector<double> values;
|
||||
@ -223,7 +222,7 @@ std::vector<double> RimWellLogRftCurve::xValues()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::vector<double> RimWellLogRftCurve::depthValues()
|
||||
std::vector<double> RimWellLogRftCurve::depthValues() const
|
||||
{
|
||||
RifReaderEclipseRft* reader = rftReader();
|
||||
std::vector<double> values;
|
||||
|
@ -23,13 +23,14 @@
|
||||
|
||||
#include "RifEclipseRftAddress.h"
|
||||
|
||||
#include "cvfObject.h"
|
||||
#include "cafPdmField.h"
|
||||
#include "cafPdmPtrField.h"
|
||||
#include "cvfObject.h"
|
||||
|
||||
class RimEclipseResultCase;
|
||||
class RifReaderEclipseRft;
|
||||
class RimEclipseResultCase;
|
||||
class RiuLineSegmentQwtPlotCurve;
|
||||
|
||||
//==================================================================================================
|
||||
///
|
||||
///
|
||||
@ -55,14 +56,15 @@ protected:
|
||||
virtual QString createCurveAutoName() override;
|
||||
virtual void onLoadDataAndUpdate(bool updateParentPlot) override;
|
||||
|
||||
virtual QList<caf::PdmOptionItemInfo> calculateValueOptions(const caf::PdmFieldHandle* fieldNeedingOptions, bool * useOptionsOnly);
|
||||
// Pdm overrrides
|
||||
virtual QList<caf::PdmOptionItemInfo> calculateValueOptions(const caf::PdmFieldHandle* fieldNeedingOptions, bool * useOptionsOnly) override;
|
||||
virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue) override;
|
||||
|
||||
private:
|
||||
RifReaderEclipseRft* rftReader() const;
|
||||
|
||||
std::vector<double> xValues();
|
||||
std::vector<double> depthValues();
|
||||
std::vector<double> xValues() const;
|
||||
std::vector<double> depthValues() const;
|
||||
|
||||
private:
|
||||
RiuLineSegmentQwtPlotCurve* m_qwtPlotCurve;
|
||||
|
Loading…
Reference in New Issue
Block a user