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 bool hasMicrobialMass()
const;
90 void assignMicrobialMass(
const unsigned globalDofIdx,
93 bool hasOxygenMass()
const;
94 void assignOxygenMass(
const unsigned globalDofIdx,
97 bool hasUreaMass()
const;
98 void assignUreaMass(
const unsigned globalDofIdx,
101 bool hasBiofilmMass()
const;
102 void assignBiofilmMass(
const unsigned globalDofIdx,
103 const Scalar biofilmMass);
105 bool hasCalciteMass()
const;
106 void assignCalciteMass(
const unsigned globalDofIdx,
107 const Scalar calciteMass);
109 void assignGasWater(
const unsigned globalDofIdx,
110 const std::array<Scalar, numPhases>& fip,
114 void assignOilGasDistribution(
const unsigned globalDofIdx,
118 void assignPoreVolume(
const unsigned globalDofIdx,
121 void assignVolumesSurface(
const unsigned globalDofIdx,
122 const std::array<Scalar, numPhases>& fip);
124 void assignVolumesReservoir(
const unsigned globalDofIdx,
125 const Scalar saltConcentration,
126 const std::array<Scalar, numPhases>&
fipr);
128 void outputRestart(data::Solution&
sol);
132 std::size_t bufferSize_ = 0;
138 bool noPrefix {
false};
142 bool surface {
false};
146 bool reservoir {
false};
150 this->noPrefix = this->surface = this->reservoir =
false;
153 explicit operator bool()
const
155 return this->noPrefix || this->surface || this->reservoir;
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242