add accessor for m_irreversible in ThresholdPressure
This commit is contained in:
parent
4b7cf09b75
commit
4d92298724
@ -88,6 +88,7 @@ namespace Opm {
|
||||
size_t size() const;
|
||||
bool active() const;
|
||||
bool restart() const;
|
||||
bool irreversible() const;
|
||||
|
||||
bool operator==(const ThresholdPressure& data) const;
|
||||
static bool rst_cmp(const ThresholdPressure& full_arg, const ThresholdPressure& rst_arg);
|
||||
|
@ -247,6 +247,10 @@ namespace Opm {
|
||||
return m_restart;
|
||||
}
|
||||
|
||||
bool ThresholdPressure::irreversible() const {
|
||||
return m_irreversible;
|
||||
}
|
||||
|
||||
bool ThresholdPressure::hasThresholdPressure(int r1 , int r2) const {
|
||||
std::pair<int,int> indexPair = makeIndex(r1,r2);
|
||||
auto iter = m_pressureTable.find( indexPair );
|
||||
|
Loading…
Reference in New Issue
Block a user