20#ifndef OPM_BLACKOILPHASES_HEADER_INCLUDED
21#define OPM_BLACKOILPHASES_HEADER_INCLUDED
77 unsigned char present_;
81 return present_ & (1 << i);
Definition: BlackoilPhases.hpp:28
static const int MaxNumPhases
Definition: BlackoilPhases.hpp:30
static const int NumCryptoPhases
Definition: BlackoilPhases.hpp:37
PhaseIndex
Definition: BlackoilPhases.hpp:40
@ Liquid
Definition: BlackoilPhases.hpp:40
@ Aqua
Definition: BlackoilPhases.hpp:40
@ Vapour
Definition: BlackoilPhases.hpp:40
@ Energy
Definition: BlackoilPhases.hpp:40
@ Solvent
Definition: BlackoilPhases.hpp:40
@ Polymer
Definition: BlackoilPhases.hpp:40
Definition: BlackoilPhases.hpp:59
void setFreeOil()
Definition: BlackoilPhases.hpp:70
bool operator!=(const PhasePresence &other) const
Definition: BlackoilPhases.hpp:74
PhasePresence()
Definition: BlackoilPhases.hpp:61
bool hasFreeGas() const
Definition: BlackoilPhases.hpp:67
bool hasFreeWater() const
Definition: BlackoilPhases.hpp:65
bool operator==(const PhasePresence &other) const
Definition: BlackoilPhases.hpp:73
void setFreeWater()
Definition: BlackoilPhases.hpp:69
bool hasFreeOil() const
Definition: BlackoilPhases.hpp:66
void setFreeGas()
Definition: BlackoilPhases.hpp:71
Definition: AnisotropicEikonal.hpp:44
Definition: BlackoilPhases.hpp:44
bool has_polymer
Definition: BlackoilPhases.hpp:49
bool has_energy
Definition: BlackoilPhases.hpp:50
int phase_pos[MaxNumPhases+NumCryptoPhases]
Definition: BlackoilPhases.hpp:47
int phase_used[MaxNumPhases+NumCryptoPhases]
Definition: BlackoilPhases.hpp:46
bool has_solvent
Definition: BlackoilPhases.hpp:48
int num_phases
Definition: BlackoilPhases.hpp:45