21#ifndef OPM_BLACKOILSTATE_HEADER_INCLUDED
22#define OPM_BLACKOILSTATE_HEADER_INCLUDED
24#include <opm/common/data/SimulationDataContainer.hpp>
26#include <opm/core/grid.h>
44 static const std::string
RV;
46 static const std::string
SSOL;
70 std::vector<double>&
surfacevol () {
return *surfacevol_ref_; }
71 std::vector<double>&
gasoilratio () {
return *gasoilratio_ref_; }
72 std::vector<double>&
rv () {
return *rv_ref_; }
75 const std::vector<double>&
surfacevol ()
const {
return *surfacevol_ref_; }
76 const std::vector<double>&
gasoilratio ()
const {
return *gasoilratio_ref_; }
77 const std::vector<double>&
rv ()
const {
return *rv_ref_; }
78 const std::vector<HydroCarbonState>&
hydroCarbonState()
const {
return hydrocarbonstate_; }
81 void setBlackoilStateReferencePointers();
82 std::vector<double>* surfacevol_ref_;
83 std::vector<double>* gasoilratio_ref_;
84 std::vector<double>* rv_ref_;
87 std::vector<HydroCarbonState> hydrocarbonstate_;
Simulator state for a blackoil simulator.
Definition: BlackoilState.hpp:41
BlackoilState(size_t num_cells, size_t num_faces, size_t num_phases)
static const std::string POLYMER
Definition: BlackoilState.hpp:47
std::vector< HydroCarbonState > & hydroCarbonState()
Definition: BlackoilState.hpp:73
const std::vector< double > & surfacevol() const
Definition: BlackoilState.hpp:75
std::vector< double > & rv()
Definition: BlackoilState.hpp:72
std::vector< double > & gasoilratio()
Definition: BlackoilState.hpp:71
BlackoilState(const BlackoilState &other)
const std::vector< double > & rv() const
Definition: BlackoilState.hpp:77
BlackoilState & operator=(const BlackoilState &other)
static const std::string GASOILRATIO
Definition: BlackoilState.hpp:43
std::vector< double > & surfacevol()
Definition: BlackoilState.hpp:70
const std::vector< double > & gasoilratio() const
Definition: BlackoilState.hpp:76
static const std::string SURFACEVOL
Definition: BlackoilState.hpp:45
static const std::string RV
Definition: BlackoilState.hpp:44
static const std::string SSOL
Definition: BlackoilState.hpp:46
const std::vector< HydroCarbonState > & hydroCarbonState() const
Definition: BlackoilState.hpp:78
Definition: AnisotropicEikonal.hpp:44
HydroCarbonState
Definition: BlackoilState.hpp:33
@ OilOnly
Definition: BlackoilState.hpp:36
@ GasOnly
Definition: BlackoilState.hpp:34
@ GasAndOil
Definition: BlackoilState.hpp:35