2020-10-16 04:27:46 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Copyright (C) 2020- Equinor ASA
|
|
|
|
//
|
|
|
|
// ResInsight is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
|
|
|
//
|
|
|
|
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
// FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
//
|
|
|
|
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
|
|
|
// for more details.
|
|
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma once
|
|
|
|
|
2020-11-04 06:46:17 -06:00
|
|
|
#include "RimStimPlanModelPropertyCalculator.h"
|
2020-10-16 04:27:46 -05:00
|
|
|
|
2020-11-04 06:46:17 -06:00
|
|
|
#include "RiaStimPlanModelDefines.h"
|
2020-10-16 04:27:46 -05:00
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
2020-11-04 06:46:17 -06:00
|
|
|
class RimStimPlanModelCalculator;
|
|
|
|
class RimStimPlanModel;
|
2020-10-16 04:27:46 -05:00
|
|
|
|
2020-11-04 06:46:17 -06:00
|
|
|
class RimStimPlanModelLayerCalculator : public RimStimPlanModelPropertyCalculator
|
2020-10-16 04:27:46 -05:00
|
|
|
{
|
|
|
|
public:
|
2020-11-04 06:46:17 -06:00
|
|
|
RimStimPlanModelLayerCalculator( RimStimPlanModelCalculator* calculator );
|
2020-10-16 04:27:46 -05:00
|
|
|
|
|
|
|
bool calculate( RiaDefines::CurveProperty curveProperty,
|
2020-11-04 06:46:17 -06:00
|
|
|
const RimStimPlanModel* stimPlanModel,
|
2020-10-16 04:27:46 -05:00
|
|
|
int timeStep,
|
|
|
|
std::vector<double>& values,
|
|
|
|
std::vector<double>& measuredDepthValues,
|
|
|
|
std::vector<double>& tvDepthValues,
|
|
|
|
double& rkbDiff ) const override;
|
|
|
|
|
|
|
|
bool isMatching( RiaDefines::CurveProperty curveProperty ) const override;
|
|
|
|
|
|
|
|
private:
|
2020-11-04 06:46:17 -06:00
|
|
|
RimStimPlanModelCalculator* m_stimPlanModelCalculator;
|
2020-10-16 04:27:46 -05:00
|
|
|
};
|