#include <BlackoilPhases.hpp>

Inheritance diagram for Opm::PhaseUsage:
Inheritance graph

Public Types

enum  PhaseIndex {
  Aqua = 0 , Liquid = 1 , Vapour = 2 , Solvent = 3 ,
  Polymer = 4 , Energy = 5 , PolymerMW = 6 , Foam = 7 ,
  Brine = 8 , ZFraction = 9
}
 

Public Member Functions

 PhaseUsage ()=default
 
 PhaseUsage (std::vector< BlackoilPhases::PhaseIndex > phases)
 

Public Attributes

std::array< int, MaxNumPhases+NumCryptoPhasesphase_used
 
std::array< int, MaxNumPhases+NumCryptoPhasesphase_pos
 
int num_phases
 
bool has_solvent {}
 
bool has_polymer {}
 
bool has_energy {}
 
bool has_polymermw {}
 
bool has_foam {}
 
bool has_brine {}
 
bool has_zFraction {}
 

Static Public Attributes

static const int MaxNumPhases = 3
 
static const int NumCryptoPhases = 7
 

Member Enumeration Documentation

◆ PhaseIndex

Enumerator
Aqua 
Liquid 
Vapour 
Solvent 
Polymer 
Energy 
PolymerMW 
Foam 
Brine 
ZFraction 

Constructor & Destructor Documentation

◆ PhaseUsage() [1/2]

Opm::PhaseUsage::PhaseUsage ( )
default

◆ PhaseUsage() [2/2]

Opm::PhaseUsage::PhaseUsage ( std::vector< BlackoilPhases::PhaseIndex phases)
explicit

Member Data Documentation

◆ has_brine

bool Opm::PhaseUsage::has_brine {}

◆ has_energy

bool Opm::PhaseUsage::has_energy {}

◆ has_foam

bool Opm::PhaseUsage::has_foam {}

◆ has_polymer

bool Opm::PhaseUsage::has_polymer {}

◆ has_polymermw

bool Opm::PhaseUsage::has_polymermw {}

◆ has_solvent

bool Opm::PhaseUsage::has_solvent {}

◆ has_zFraction

bool Opm::PhaseUsage::has_zFraction {}

◆ MaxNumPhases

const int Opm::BlackoilPhases::MaxNumPhases = 3
staticinherited

◆ num_phases

int Opm::PhaseUsage::num_phases

◆ NumCryptoPhases

const int Opm::BlackoilPhases::NumCryptoPhases = 7
staticinherited

◆ phase_pos

◆ phase_used


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