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 ()
 

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

Opm::PhasePresence::PhasePresence ( )
inline

Member Function Documentation

bool Opm::PhasePresence::hasFreeGas ( ) const
inline
bool Opm::PhasePresence::hasFreeOil ( ) const
inline
bool Opm::PhasePresence::hasFreeWater ( ) const
inline
void Opm::PhasePresence::setFreeGas ( )
inline
void Opm::PhasePresence::setFreeOil ( )
inline
void Opm::PhasePresence::setFreeWater ( )
inline

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