49 using Scalar =
typename FluidSystem::Scalar;
50 using FIPMap = std::unordered_map<Inplace::Phase, std::vector<Scalar>>;
52 static constexpr auto numPhases = FluidSystem::numPhases;
53 static constexpr auto gasPhaseIdx = FluidSystem::gasPhaseIdx;
54 static constexpr auto oilPhaseIdx = FluidSystem::oilPhaseIdx;
55 static constexpr auto waterPhaseIdx = FluidSystem::waterPhaseIdx;
62 void add(
const Inplace::Phase phase);
76 const std::vector<Scalar>& get(
const Inplace::Phase phase)
const;
78 bool has(
const Inplace::Phase phase)
const;
80 bool hasCo2InGas()
const;
81 void assignCo2InGas(
const unsigned globalDofIdx,
84 bool hasCo2InWater()
const;
85 void assignCo2InWater(
const unsigned globalDofIdx,
89 void assignGasWater(
const unsigned globalDofIdx,
90 const std::array<Scalar, numPhases>& fip,
94 void assignOilGasDistribution(
const unsigned globalDofIdx,
98 void assignPoreVolume(
const unsigned globalDofIdx,
101 void assignVolumesSurface(
const unsigned globalDofIdx,
102 const std::array<Scalar, numPhases>& fip);
104 void assignVolumesReservoir(
const unsigned globalDofIdx,
105 const Scalar saltConcentration,
106 const std::array<Scalar, numPhases>&
fipr);
108 void outputRestart(data::Solution&
sol);
112 std::size_t bufferSize_ = 0;
118 bool noPrefix {
false};
122 bool surface {
false};
126 bool reservoir {
false};
130 this->noPrefix = this->surface = this->reservoir =
false;
133 explicit operator bool()
const
135 return this->noPrefix || this->surface || this->reservoir;
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242