EclGenericThresholdPressure: remove deck member

This commit is contained in:
Arne Morten Kvarving
2022-11-23 12:54:40 +01:00
parent b325fe65aa
commit d294bbabac
3 changed files with 3 additions and 13 deletions
+1 -6
View File
@@ -24,9 +24,6 @@
#include <config.h>
#include <ebos/eclgenericthresholdpressure.hh>
#include <opm/material/densead/Evaluation.hpp>
#include <opm/material/densead/Math.hpp>
#include <opm/input/eclipse/Deck/Deck.hpp>
#include <opm/input/eclipse/EclipseState/EclipseState.hpp>
#include <opm/input/eclipse/EclipseState/Grid/FieldPropsManager.hpp>
#include <opm/input/eclipse/EclipseState/Tables/Eqldims.hpp>
@@ -60,13 +57,11 @@ EclGenericThresholdPressure<Grid,GridView,ElementMapper,Scalar>::
EclGenericThresholdPressure(const CartesianIndexMapper& cartMapper,
const GridView& gridView,
const ElementMapper& elementMapper,
const EclipseState& eclState,
const Deck& deck)
const EclipseState& eclState)
: cartMapper_(cartMapper)
, gridView_(gridView)
, elementMapper_(elementMapper)
, eclState_(eclState)
, deck_(deck)
{
}
+1 -5
View File
@@ -34,8 +34,6 @@
namespace Opm {
class Deck;
class DeckKeyword;
class EclipseState;
template<class Grid, class GridView, class ElementMapper, class Scalar>
@@ -46,8 +44,7 @@ public:
EclGenericThresholdPressure(const CartesianIndexMapper& cartMapper,
const GridView& gridView,
const ElementMapper& elementMapper,
const EclipseState& eclState,
const Deck& deck);
const EclipseState& eclState);
/*!
* \brief Returns the theshold pressure [Pa] for the intersection between two elements.
@@ -91,7 +88,6 @@ protected:
const GridView& gridView_;
const ElementMapper& elementMapper_;
const EclipseState& eclState_;
const Deck& deck_;
std::vector<Scalar> thpresDefault_;
std::vector<Scalar> thpres_;
unsigned numEquilRegions_;
+1 -2
View File
@@ -74,8 +74,7 @@ public:
: BaseType(simulator.vanguard().cartesianIndexMapper(),
simulator.vanguard().gridView(),
simulator.model().elementMapper(),
simulator.vanguard().eclState(),
simulator.vanguard().deck())
simulator.vanguard().eclState())
, simulator_(simulator)
{
}