#include <ThresholdPressure.hpp>

Public Types

using ThresholdPressureTable = std::vector< std::pair< bool, double > >
 
using PressureTable = std::map< std::pair< int, int >, std::pair< bool, double > >
 

Public Member Functions

 ThresholdPressure (bool restart, const Deck &deck, const FieldPropsManager &fp)
 
 ThresholdPressure ()
 
bool hasRegionBarrier (int r1, int r2) const
 
bool hasThresholdPressure (int r1, int r2) const
 
double getThresholdPressure (int r1, int r2) const
 
size_t size () const
 
bool active () const
 
bool restart () const
 
bool operator== (const ThresholdPressure &data) const
 
template<class Serializer >
void serializeOp (Serializer &serializer)
 

Static Public Member Functions

static ThresholdPressure serializeObject ()
 Returns an instance for serialization tests. More...
 

Member Typedef Documentation

◆ PressureTable

using Opm::ThresholdPressure::PressureTable = std::map<std::pair<int,int>,std::pair<bool,double> >

◆ ThresholdPressureTable

using Opm::ThresholdPressure::ThresholdPressureTable = std::vector<std::pair<bool,double> >

Constructor & Destructor Documentation

◆ ThresholdPressure() [1/2]

Opm::ThresholdPressure::ThresholdPressure ( bool  restart,
const Deck deck,
const FieldPropsManager fp 
)

◆ ThresholdPressure() [2/2]

Opm::ThresholdPressure::ThresholdPressure ( )
inline

Member Function Documentation

◆ active()

bool Opm::ThresholdPressure::active ( ) const

◆ getThresholdPressure()

double Opm::ThresholdPressure::getThresholdPressure ( int  r1,
int  r2 
) const

◆ hasRegionBarrier()

bool Opm::ThresholdPressure::hasRegionBarrier ( int  r1,
int  r2 
) const

◆ hasThresholdPressure()

bool Opm::ThresholdPressure::hasThresholdPressure ( int  r1,
int  r2 
) const

◆ operator==()

bool Opm::ThresholdPressure::operator== ( const ThresholdPressure data) const

◆ restart()

bool Opm::ThresholdPressure::restart ( ) const

◆ serializeObject()

static ThresholdPressure Opm::ThresholdPressure::serializeObject ( )
static

Returns an instance for serialization tests.

◆ serializeOp()

template<class Serializer >
void Opm::ThresholdPressure::serializeOp ( Serializer serializer)
inline

◆ size()

size_t Opm::ThresholdPressure::size ( ) const

The documentation for this class was generated from the following file: