Opm::PhasePresence Class Reference

#include <BlackoilPhases.hpp>

Public Member Functions

 PhasePresence ()
 
bool hasFreeWater () const
 
bool hasFreeOil () const
 
bool hasFreeGas () const
 
void setFreeWater ()
 
void setFreeOil ()
 
void setFreeGas ()
 
bool operator== (const PhasePresence &other) const
 
bool operator!= (const PhasePresence &other) const
 

Detailed Description

Check or assign presence of a formed, free phase. Limited to the 'BlackoilPhases'.

Use a std::vector<PhasePresence> to represent the conditions in an entire model.

Constructor & Destructor Documentation

◆ PhasePresence()

Opm::PhasePresence::PhasePresence ( )
inline

Member Function Documentation

◆ hasFreeGas()

bool Opm::PhasePresence::hasFreeGas ( ) const
inline

◆ hasFreeOil()

bool Opm::PhasePresence::hasFreeOil ( ) const
inline

◆ hasFreeWater()

bool Opm::PhasePresence::hasFreeWater ( ) const
inline

◆ operator!=()

bool Opm::PhasePresence::operator!= ( const PhasePresence other) const
inline

References operator==().

◆ operator==()

bool Opm::PhasePresence::operator== ( const PhasePresence other) const
inline

Referenced by operator!=().

◆ setFreeGas()

void Opm::PhasePresence::setFreeGas ( )
inline

◆ setFreeOil()

void Opm::PhasePresence::setFreeOil ( )
inline

◆ setFreeWater()

void Opm::PhasePresence::setFreeWater ( )
inline

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